home *** CD-ROM | disk | FTP | other *** search
- @Echo off
-
- REM Sample EXEBBS.BAT file for running BFE under FrontDoor
-
- REM Hop to the BFE directory
- c:
- cd\fd\bfe
-
- REM Call BFE, passing the values from the DOBBS0.BAT (baud, speed, etc)
- bfe -s%1 -p%2 -cMAIN.CTL -n1
-
- REM Another example of calling BFE, is to lock the port at all times, with
- REM a constant speed (i.e. 19200, 38400, etc)
- REM bfe -s19200 -p%2 -cMAIN.CTL -n1
-
- REM Another example, is to lock the port based upon the passed speed
- REM bfe -s%1 -p%2 -cMAIN.CTL -n1 -l
-
- REM Let's check our BFE errorlevels for the various BBS systems
- if errorlevel 99 goto bail
- if errorlevel 51 goto Caldwell
- if errorlevel 50 goto Cairo
- if errorlevel 1 goto bail
-
- echo Fell through!
-
- cd\fd
- fdstart.bat
-
- REM Here comes Maximus #1!
- :Cairo
- cd\max
- Max -b%1 -p%2 -t%3 -n1
- REM You may have to check additional errorlevels from your BBS here, esp.
- REM if you run door games that you have to exit on an errorlevel to run.
- goto bail
-
- REM Here comes Maximus #2!
- :Caldwell
- cd\max
- cald1.bat %1 %2 %3 %4
-
- :bail
- c:
- cd\fd
-
- echo mailer!
-
- fdstart.bat
-