home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-386-Vol-2of3.iso
/
b
/
bfx200.zip
/
BBS.BAT
next >
Wrap
DOS Batch File
|
1992-12-02
|
1KB
|
58 lines
@ECHO OFF
REM Everything returns here except Alt-X
REM or when [T]erminate is selected from the menu
:loop
f:
cd \sf
cls
bfx
REM Event E0
if errorlevel 70 goto event
REM Configurable Item C2
if errorlevel 50 goto dosfax
REM Configurable Item C1
if errorlevel 40 goto comm
REM Fax Connection
if errorlevel 30 goto fax
REM Data Connection
if errorlevel 20 goto spit
REM Local Logon Menu Selection
if errorlevel 10 goto spitl
REM Terminate Menu Selection or
REM an Alt-X keypress
if errorlevel 0 goto end
REM My BBS maintenance event
:event
call fileupd
goto loop
REM Start up RCVFAX
:fax
REM This is the command line for the RCVFAX in ZFAX 2.1
rcvfax 2 /p:1 /w:f:\sf\fax
goto loop
REM Start up SPITFIRE
:spit
call bbsexe
sfchkup
goto loop
REM Start up my COMM program
REM If you are executing a BATch file use
REM the CALL keyword so execution returns here.
:comm
e:
cd \gt
call gt
goto loop
REM Start up DOSFAX
:dosfax
e:
cd \dosfax
dosfax
goto loop
REM Start SPITFIRE in LOCAL mode
:spitl
spitfire 0
goto loop
REM Alt-X pressed or [T]erminate selected from menu
:end