home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
r
/
robo1_08.zip
/
DOROBO.B_T
next >
Wrap
Text File
|
1992-06-08
|
1KB
|
49 lines
@ECHO OFF
set NODE=%1
if "%1"=="" set NODE=1
REM
REM This batch file assumes you are passing a node number
REM to it via the command line. If you do not pass a node
REM number to your ROBO batch then the node number is
REM defaulted to 1.
REM
REM If you run a 1 line bbs then feel free to remove all
REM occurences of the text and dos variable -NODE=%NODE%.
REM
REM See your dos manual for more information on variables.
REM
@ECHO OFF
:TOP
CD\ROBOBBS
CLS
ROBOBBS -NODE=%NODE%
if errorlevel 70 goto DONE
if errorlevel 60 ROBOGR -baud=38400 -NODE=%NODE%
if errorlevel 59 ROBOGR -baud=19200 -NODE=%NODE%
if errorlevel 58 ROBOGR -baud=16800 -NODE=%NODE%
if errorlevel 57 ROBOGR -baud=14400 -NODE=%NODE%
if errorlevel 56 ROBOGR -baud=12000 -NODE=%NODE%
if errorlevel 55 ROBOGR -baud=9600 -NODE=%NODE%
if errorlevel 54 ROBOGR -baud=7200 -NODE=%NODE%
if errorlevel 53 ROBOGR -baud=4800 -NODE=%NODE%
if errorlevel 52 ROBOGR -baud=2400 -NODE=%NODE%
if errorlevel 51 ROBOGR -baud=1200 -NODE=%NODE%
if errorlevel 50 ROBOGR -local -NODE=%NODE%
if errorlevel 1 goto ERROR
goto TOP
:ERROR
echo. >> ROBO%node%.LOG
echo ROBOBBS.EXE HAD A FATAL ERROR! >> ROBO%node%.LOG
echo. >> ROBO%node%.LOG
echo.
echo. ROBOBBS.EXE HAD A FATAL ERROR!
echo.
:DONE
echo.
echo ROBO-BOARD Exited.