Category : System Diagnostics for your computer
Archive   : ANTIBODY.ZIP
Filename : WEEKDAY.DOC

 
Output of file : WEEKDAY.DOC contained in archive : ANTIBODY.ZIP
ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ
ÛÛ ÛÛ
ÛÛ WEEKDAY.COM ÛÛ
ÛÛ ÛÛ
ÛÛ Version 1.00 ÛÛ
ÛÛ ÛÛ
ÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛÛ


This program reports the current day of the week as an ERRORLEVEL that can
be interrogated in a batch file (0 = Sunday, 1 = Monday, etc.). It also
displays the day of week name, though you can suppress this by redirecting the
output to NUL.

Use WEEKDAY in your AUTOEXEC.BAT file when your boot procedures depends on
the day of the week. For example, if you run virus diagnostic program every
Friday morning, you could have lines something like this in AUTOEXEC.BAT:

WEEKDAY > NUL
IF ERRORLEVEL 6 GOTO CONTINUE
IF ERRORLEVEL 5 GOTO VIRUS
:CONTINUE
.....
GOTO END
:VIRUS
ANTIBODY
:END

WEEKDAY.COM was written in assembly language by Richard W. Adams, and is
in the public domain.


  3 Responses to “Category : System Diagnostics for your computer
Archive   : ANTIBODY.ZIP
Filename : WEEKDAY.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/