home *** CD-ROM | disk | FTP | other *** search
- rem example of a batchfile voor running RBBS-PC with RBBSDOOR
- rem call this batchfile as either RBBS.BAT 1 or RBBS.BAT 2
- rem where 1 or 2 is the required node-number
- rem the 1 or 2 parameter circulates through all the succesive
- rem batchfiles that are called by RBBS.BAT
- rem _________________________________________________________
- rem
- rem Written by Jan Terpstra of Bamestra RBBS, The Netherlands
- rem _________________________________________________________
- rem
- rem these two lines kill the no longer needed .BAT and .DEF files
- IF EXIST RCTTY%1.BAT DEL RCTTY%1.BAT
- IF EXIST RBBS%1F1.DEF DEL RBBS%1F1.DEF
- rem this line puts GUARD1 or GUARD2 to sleep.
- GUARD%1 OFF
- rem this line starts RBBS-PC.EXE with the proper node-number
- RBBS141D.EXE %1
- rem if a RCTTYn.BAT, activate the proper GUARD
- IF EXIST RCTTY%1.BAT GUARD%1 ON
- rem check for RBBSnF1.DEF and terminate batchfile if it exists
- IF EXIST RBBS%1F1.DEF GOTO END
- rem start RBBSDOOR.EXE with the proper node-number
- RBBSDOOR.EXE %1
- rem if a RCTTYn.BAT file exists, execute it with the proper node-number
- IF EXIST RCTTY%1.BAT RCTTY%1.BAT %1
- rem if RCTTYn.BAT wasn't there, restart RBBS.BAT with the proper node-number
- RBBS.BAT %1
- rem this is the END label jumped to if RBBSnF1.DEF existed
- :END