Reply 20 of 37, by DaveDDS
- Rank
- Oldbie
Just for fun, I threw together GENEVL.C which create EVL.BAT:
@echo OFF%1 %2 %3 %4 %5 %6 %7 %8 %9echo 0if errorlevel 1 echo 1... repeat for 2-254 ...if errorlevel 255 echo 255
Here is a test run:
R:\> EVL ERRLVL 5Exit[5] <- produced by ERRLVL012345R:\>
Attached .ZIP contains GENEVL.C and the generated EVL.BAT
- Dave ; https://dunfield.themindfactory.com ; "Daves Old Computers" ; SW dev addict best known:
ImageDisk: rd/wr ANY floppy PChardware can ; Micro-C: compiler for DOS+ManySmallCPU ; DDLINK: simple/small FileTrans(w/o netSW)via Lan/Lpt/Serial