home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem ***** This is an example batch file for frontend mode operation
- set bgfax=c:\bgfax
- c:
- cd %bgfax%
- bgfax /host
- if errorlevel 120 maint1.bat
- if errorlevel 4 goto faxrcvd
- if errorlevel 3 goto datacall
- if errorlevel 2 goto datacall
- if errorlevel 1 fbbs.bat
- goto end
- :faxrcvd
- rem ***** You can auto-print every fax, see docs for info on EXEPRINT.BAT
- call %bgfax%\doprint.bat
- del %bgfax%\doprint.bat
- fbbs.bat
- :datacall
- rem ***** Errorlevel 2 = Data Call, Errorlevel 3 = Local Logon
- rem ***** The following line executes the DOBBS.BAT file created by BGFAX
- rem ***** which then runs EXEBBS.BAT which should load your BBS software.
- %bgfax%\dobbs.bat
- :end
-
-