home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1994 #1
/
monster.zip
/
monster
/
SPITFIRE
/
SFMNUEXT.ZIP
/
SFBAT.SAM
< prev
next >
Wrap
Text File
|
1994-01-26
|
1KB
|
24 lines
Below are examples of a recommended way to configure your SF.BAT file
to use SFMNUEXT to expand the number of door programs usable under
SPITFIRE BBS. Since these examples are calling a second batch file
(SFDOREXT.BAT) from SF.BAT, either the DOS command "CALL" or Buffalo
Creek Software's "CALLBAT" must be used. In the event "CALL" or
"CALLBAT" is not used, then when the second batch file (SFDOREXT.BAT)
has finished its execution, control will NOT be returned to SF.BAT but
rather to DOS. The first example uses the CALL command which assumes
you are using DOS 3.3 or newer. The second example uses CALLBAT which
is a utility from Buffalo Creek Software which allows a batch file to
call another batch file and then regain control when the second (called)
batch file has finished its execution. CALLBAT is to be used with DOS
3.2 and older.
:DOOR_A
CALL SFDOREXT
GOTO LOOP
:DOOR_B
CALLBAT SFDOREXT
GOTO LOOP
:DOOR_C
REM Place Door B Commands Here
GOTO LOOP