DATECHEK.EXE 1.1 Written by Eric Hemmer All Rights Reserved This program is freeware. Feel free to distribute it among friends and co- workers. However, this text file must be distributed with all copies. DATECHEK is a batch file utility which checks the current date against that specified, and if they match, carry out the specified instructions once for that day, or optionally, every day. DATECHEK can be added to your AUTOEXEC.BAT to print a schedule or list of items from a text file, begin the backup program of your choice, call any program or batch file to perform cleanup, etc. The possiblities are limited only to your imagination. To use DATECHEK, use the following syntax in any batch file: DATECHEK MM-DD-YYYY [path]COMMAND [paramters] YOU MUST USE THE FORMAT mm-dd-yyyy TO SPECIFY THE DATE. Example: DATECHEK 01-01-1995 CLEANUP.BAT DATECHEK stores all entries run in the file C:\DATECHEK.LOG When called, the program first checks the system date against that specified on the command line. If they match, or is you used 00-00-0000, the program opens the log file and searches for an entry matching the current date, and the EXACT syntax used to specify the command. If no match is found, the command specified is carried out, and an entry is added to the log, showing the current date and the command performed. DATECHEK will not produce an error if it cannot perform the command specified, but still creates the entry in the log. This allows easy troubleshooting for syntax errors and typo's. If you need to force the command to run again, simply delete or rename the log file. Use DATECHEK ? to display help. THE AUTHOR CANNOT BE HELD LIABLE FOR MISUSE OR FAILURE TO FOLLOW INSTRUCTIONS ALTHOUGH I HAVE TESTED AND USED THIS PROGRAM FOR SOME TIME, I CANNOT GUARANTEE HOW THE PROGRAM WILL BEHAVE IN EVERY SYSTEM. USE WITH CARE.