home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
batch
/
timedo10.arj
/
README.TXT
< prev
next >
Wrap
Text File
|
1992-03-14
|
2KB
|
55 lines
Support SHAREWARE ...
If you find these programs usefull please contribute $10.00 to ...
Gary G. Hendershot
7218 Reservoir Road
Springfield, VA 22150
your financial support will assure that these and other SHAREWARE
product from this author continue to be improved and offered.
Thank you ... Hope you enjoy these new utilities ...
The file TIMEDO10.ZIP should have contained the following files ...
README.TXT This file
RUNTIME.BAT A sample BATCH file that shows the use of TIMEDO and KILLTIME
TIMEDO.EXE A program that returns ERRORLEVEL set based on the command
line time provided
KILLTIME.EXE A program that waits a number of seconds provided on the
command line
How to use TIMEDO.EXE
TIMEDO is designed to accept up to nine (9) valid military times on the
command line. TIMEDO will cycle until one of the trigger times is reached.
TIMEDO then returns to DOS with ERRORLEVEL set to 1-9 depending on which
trigger time caused the exit.
Example COMMAND line: TIMEDO 01:00:00 13:00:00
This example command line will cause TIMEDO to exit with ERRORLEVEL set
to 1 at 1:00 am or 2 at 1:00 pm.
TIMEDO is best used in a batch file to automate functions based on a time of
day. Ideally the batch file will process the requried event then return
to TIMEDO for the next event. See the batch file RUNTIME.BAT for examples
of how this can be done.
How to use KILLTIME.EXE
KILLTIME is a program that is designed to pause execution for a number of
seconds provided on the command line.
Example COMMAND line: KILLTIME 120
This example command line will cause KILLTIME to run for 120 seconds then
return to DOS.
KILLTIME is usefull whenever you wish to provide a moderate pause to the
execution of a batch file.