Category : Batch File Utilities - mostly for DOS
Archive   : ERRNO.ZIP
Filename : ERRNO.DOC

 
Output of file : ERRNO.DOC contained in archive : ERRNO.ZIP
ERRNO.COM
SETS ERRORLEVEL FROM COMMAND LINE ARGUMENT
MS QUICKC V. 2.5
Tiny Memory Model (.COM file)
DAN GOLDBERG, 10/90


This little program simply sets errorlevels (exit codes).
Just type the errorlevel you want, from 0 to 255, on the
command line, and ERRNO will set that errorlevel.

Or type ERRNO by itself, and you will be prompted for an
errorlevel value. The ONLY values accepted are 0 - 255.


example:
ERRNO 254 (will set errorlevel to 254)

(or type ERRNO alone to be prompted for errorlevel)

to test, type:
if errorlevel 255 cls (will NOT clearscreen)

then type:
if errorlevel 254 cls (will clear screen)
if errorlevel 253 cls (will clear screnn)
. . .

I need not tell anyone out there how important errorlevels are
when working in DOS, especially with batch files.

If you use the program, please send one dollar, or just a hello,
to:

Dan Goldberg
239 East 91, Apt.#1
New York, N.Y. 10128


  3 Responses to “Category : Batch File Utilities - mostly for DOS
Archive   : ERRNO.ZIP
Filename : ERRNO.DOC

  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/