home *** CD-ROM | disk | FTP | other *** search
- echo off
- cls
- if "%1" == "" goto error
- if %1 == 1 goto cont1
- if %1 == 2 goto cont1
- goto error
- :cont1
- if "%2" == "" goto cont2
- if %2 == 1200 goto cont2
- if %2 == 2400 goto cont2
- if %2 == 9600 goto cont2
- goto error
- :cont2
- echo Welcome to RyBBS ! ! ! ! ! !
- echo .
- echo This will set up the RYBBS system and will
- echo use THIS directory as the RYBBS system directory.
- echo .
- echo Make sure the latest version of RYBBS
- echo is in THIS directory.
- echo .
- echo This will start RyBBS with the following parameters:
- echo Com Port : %1
- if "%2" == "" goto 1200
- if %2 == 1200 goto 1200
- if %2 == 2400 goto 2400
- if %2 == 9600 goto 9600
- goto error
- :9600
- echo Baud Rate : 9600 baud.
- goto afterbaud
- :2400
- echo Baud Rate : 2400 baud.
- goto afterbaud
- :1200
- echo Baud Rate : 1200 baud.
- :afterbaud
- echo .
- echo If this is not what you desire please press Ctrl and
- echo the Break key NOW! Then press the Y key. Otherwise,
- pause
- cls
- echo
- echo
- echo Starting RyBBS...Just a moment, please!
- md dl1>nul
- md dl2>nul
- md dl3>nul
- md dl4>nul
- md upload>nul
- if not exist dl1\files.bbs copy files.bbs dl1\files.bbs>nul
- if not exist dl2\files.bbs copy files.bbs dl2\files.bbs>nul
- if not exist dl3\files.bbs copy files.bbs dl3\files.bbs>nul
- if not exist dl4\files.bbs copy files.bbs dl4\files.bbs>nul
- if not exist upload\files.bbs copy files.bbs upload\files.bbs>nul
- copy modeinit.12 modeinit.bbs>nul
- copy start12.bbs startup.bbs>nul
- if "%2" == "" goto start
- if %2 == 9600 copy start96.bbs startup.bbs>nul
- if %2 == 9600 copy modeinit.96 modeinit.bbs>nul
- if %2 == 2400 copy start24.bbs startup.bbs >nul
- if %2 == 2400 copy modeinit.24 modeinit.bbs>nul
- :start
- rybbs %1 /c
- if errorlevel 1 goto cont
- goto quit
- :cont
- echo .
- echo .
- echo .
- r %1
- :error
- cls
- echo The proper usage of this program is :
- echo .
- echo faststrt Com
- echo or
- echo faststrt Com 2400
- echo for 2400 baud modems
- echo or
- echo faststrt Com 9600
- echo for 9600 baud modems
- echo .
- echo You MUST specify the COM port as either 1 or 2
- echo Example:
- echo faststrt 2 2400
- echo faststrt 1
- goto end
- :quit
- cls
- echo .
- echo .
- echo .
- echo Thanks for using RyBBS!
- :end
-