Category : BASIC Source Code
Archive   : ERRLVLM.ZIP
Filename : TESTEXIT.BAT

 
Output of file : TESTEXIT.BAT contained in archive : ERRLVLM.ZIP
basexit

if errorlevel 25 goto twentyfive
if errorlevel 10 goto ten
if errorlevel 0 goto zero

:twentyfive
echo Exited with an errorlevel of 25
goto exit

:ten
echo exited with an errorlevel of 10
goto exit

:zero
echo exited with an errorlevel of 0
goto exit

:exit
rem end of batch file



  3 Responses to “Category : BASIC Source Code
Archive   : ERRLVLM.ZIP
Filename : TESTEXIT.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/