home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #1 / monster.zip / monster / SPITFIRE / SFMNUEXT.ZIP / SFBAT.SAM < prev    next >
Text File  |  1994-01-26  |  1KB  |  24 lines

  1. Below are examples of a recommended way to configure your SF.BAT file
  2. to use SFMNUEXT to expand the number of door programs usable under
  3. SPITFIRE BBS.  Since these examples are calling a second batch file
  4. (SFDOREXT.BAT) from SF.BAT, either the DOS command "CALL" or Buffalo
  5. Creek Software's "CALLBAT" must be used.  In the event "CALL" or
  6. "CALLBAT" is not used, then when the second batch file (SFDOREXT.BAT)
  7. has finished its execution, control will NOT be returned to SF.BAT but
  8. rather to DOS.  The first example uses the CALL command which assumes
  9. you are using DOS 3.3 or newer. The second example uses CALLBAT which
  10. is a utility from Buffalo Creek Software which allows a batch file to
  11. call another batch file and then regain control when the second (called)
  12. batch file has finished its execution.  CALLBAT is to be used with DOS
  13. 3.2 and older.
  14.  
  15. :DOOR_A
  16.    CALL SFDOREXT
  17.    GOTO LOOP
  18. :DOOR_B
  19.    CALLBAT SFDOREXT
  20.    GOTO LOOP
  21. :DOOR_C
  22.    REM Place Door B Commands Here
  23.    GOTO LOOP
  24.