|Batch utility that sets errorlevel to hour of system time (0-23).|
|File Name||File Size||Zip Size||Zip Type|
Download File HR2ERLVL.ZIP Here
Contents of the HR2ERLVL.DOC file
HR2ERLVL.DOC 05-29-91 tem
HR2ERLVL.COM is a batch file utility which reads the DOS
system time, and sets the errorlevel equal to the hour
of that system time.
For example, system time midnight until 12:59 am will
produce errorlevel 0 (zero), 1:00am until 1:59am will
produce errorlevel 1, etc..
If you are new to using errorlevel in batch files,
refer to your DOS manual, or ask for some help.
Source is in HR2ERLVL.SCR, a debug script file which
produces HR2ERLVL.COM when the following command is
This 10 byte program appeared in INFOWORLD, in the
Buyer's Advisory column by Brett Glass on 05-27-91.
Following is the "source file" debug script from that
E100 B4 2C CD 21 88 E8 B4 4C CD 21
December 17, 2017 Add comments