home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Jason Aller Floppy Collection
/
283.img
/
TCS161.ZIP
/
MAIN.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-08-07
|
571b
|
26 lines
@echo off
Tcs %1 %2 %3 %4 %5
if errorlevel 123 system3
if errorlevel 122 system2
if errorlevel 121 goto terminal
if errorlevel 100 goto exit
if errorlevel 90 goto fileerror
if errorlevel 67 config.exe
if errorlevel 66 protocfg.exe
if errorlevel 50 goto exit
if errorlevel 4 goto exit
if errorlevel 3 door
if errorlevel 2 main.bat
main.bat
:fileerror
cls
echo There has been a fatal file error!
echo Either fix it or run TcS again.
:terminal
cls
if exist term.bat term.bat
cd\source
if exist term.bat main.bat
echo TERM.BAT does not exist!
:exit