Dec 172017
Use day of month as switch in batch file. | |||
---|---|---|---|
File Name | File Size | Zip Size | Zip Type |
DATE_SW.C | 1430 | 666 | deflated |
DATE_SW.DOC | 1039 | 564 | deflated |
DATE_SW.EXE | 11324 | 6214 | deflated |
Download File DATE_SW.ZIP Here
Contents of the DATE_SW.DOC file
DATE_SW Docs
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
used.
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)
(614) 436-2414
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
used.
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)
(614) 436-2414
December 17, 2017
Add comments