Contents of the DATE_SW.DOC file
This is a small utility I use in my batch files for branching on
a particular day of the month. Such as system maintenance that
I do on the first of every month on my bbs. Its pretty easy to
use. The program will set the DOS error level to whatever you
setup on the command line.
Example: DATE_SW 1 10
This will result in the DOS error level being set to 10 if it is
the first of any month.
You can use this with a line in your batch file like the following:
If errorlevel 10 goto first
Note: If you don't enter the error level then a default of ten is
THIS UTILITY IS PROVIDED AS IS AND HAS NO WARRANTY, YOU SHOULD
NOT HAVE ANY PROBLEMS I'VE BEEN USING IT FOR A WEEK WITH NO PROBLEMS.
This program is given freely, heck its how I am learning to program.
Oh before I forget this was written by Fred Feldman (Briefcase BBS)