home *** CD-ROM | disk | FTP | other *** search
- WhatDay June 6, 1990
- Ricky M. Lacy The Data Dimension PCBoard 404-921-1186 (HST 14,400)
- ========================================================================
-
- INTRO
- =====
- They say necessity is the father of invention. Well, that is certainly
- true where this program is concerned. I had a need for a utility to
- simply figure out what day of the week it was from a batch file. Seemed
- simple enough, so I started combing the bulletin boards. I was shocked
- to not be able to find a good utility to accomplish this. I found alot
- of very large and complex batch file enhancers that could've been used
- to do the job, but I just wanted a simple little 2K utility to do this
- one task. The only utility that I found that even came close, but it
- was controlled via environment variables and paused for an obnoxious 5
- second pause with an advertisement.
-
- A friend of mine whipped up a utility to do this in C finally. I
- decided to do the same in pascal to show him how tight pascal can
- compile, after slaving over Turbo Pascal 5.5 for about 5 minutes,
- WhatDay is born. And for you C lovers, the C equivalent of this program
- is about 4 times as large <grin>. Look for TESTDAY.ZIP by Michael Tift.
-
-
- HOW DOES IT WORK?
- =================
- Pretty simple, just run it and it'll tell you what day it is and set an
- errorlevel like so:
-
- Errorlevel Day
- ========== ===
- 1 Sun.
- 2 Mon.
- 3 Tue.
- 4 Wed.
- 5 Thu.
- 6 Fri.
- 7 Sat.
-
- This should make it extremely easy to use in a batch file, see the
- enclosed sample: SAMPLE.BAT
-
-
- LEGAL STUFF
- ===========
- This program is donated to the public domain. I see too many nickel and
- dime utilities that want registrations or have obnoxious ads plastered
- all over them. If you have a need for this program use it in good
- health.
-
- DISTRIBUTION
- ============
- Distribute this program freely. I have but one condition to add to
- this. And that is that the original contents of the distribution ZIP
- should remain unmodified. Do not change any of the files. Do not
- delete any of the files. And do not add any files to the distribution
- package. This explicitely means that dirt bag boards like Rusty 'n
- Edies who place ads in all their stinking ZIP files may *not* include
- them with this collection. If you run across this file with an ad
- enclosed in it (other than the tag on the ZIP itself), please call my
- BBS and let me know. I do not tolerate digital grafitti.
-
-