home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
VRAC
/
DMBB262.ZIP
/
ERRORL.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-05-15
|
334b
|
9 lines
@echo off
echo off
echo Test ERRORLEVEL 2.02 test --- DMBB (c) Daniel MONTARON 1989.
for %%x in (0 1 2) do if errorlevel=%%x00 set ERL=%%x
for %%x in (0 1 2 3 4 5 6 7 8 9) do if errorlevel=%ERL%%%x0 set DIZ=%ERL%%%x
for %%x in (0 1 2 3 4 5 6 7 8 9) do if errorlevel=%DIZ%%%x set ERL=%DIZ%%%x
set DIZ=
echo errorlevel = %ERL%