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

 
Output of file : TESTEXIT.BAT contained in archive : QBERRLVL.ZIP

Echo off
cls

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