home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / batch / timedo10.arj / README.TXT < prev    next >
Text File  |  1992-03-14  |  2KB  |  55 lines

  1.  
  2.  
  3. Support SHAREWARE ...
  4.  
  5. If you find these programs usefull please contribute $10.00 to ...
  6.  
  7.     Gary G. Hendershot
  8.     7218 Reservoir Road
  9.     Springfield, VA  22150
  10.  
  11. your financial support will assure that these and other SHAREWARE
  12. product from this author continue to be improved and offered.
  13.  
  14. Thank you ... Hope you enjoy these new utilities ...
  15.  
  16. The file TIMEDO10.ZIP should have contained the following files ...
  17.  
  18. README.TXT      This file
  19. RUNTIME.BAT     A sample BATCH file that shows the use of TIMEDO and KILLTIME
  20. TIMEDO.EXE      A program that returns ERRORLEVEL set based on the command
  21.                 line time provided
  22. KILLTIME.EXE    A program that waits a number of seconds provided on the
  23.                 command line
  24.  
  25. How to use TIMEDO.EXE
  26.  
  27. TIMEDO is designed to accept up to nine (9) valid military times on the
  28. command line.  TIMEDO will cycle until one of the trigger times is reached.
  29. TIMEDO then returns to DOS with ERRORLEVEL set to 1-9 depending on which
  30. trigger time caused the exit.
  31.  
  32.     Example COMMAND line:  TIMEDO 01:00:00 13:00:00
  33.  
  34. This example command line will cause TIMEDO to exit with ERRORLEVEL set
  35. to 1 at 1:00 am or 2 at 1:00 pm.
  36.  
  37. TIMEDO is best used in a batch file to automate functions based on a time of
  38. day.  Ideally the batch file will process the requried event then return
  39. to TIMEDO for the next event.  See the batch file RUNTIME.BAT for examples
  40. of how this can be done.
  41.  
  42. How to use KILLTIME.EXE
  43.  
  44. KILLTIME is a program that is designed to pause execution for a number of
  45. seconds provided on the command line.
  46.  
  47.     Example COMMAND line:  KILLTIME 120
  48.  
  49. This example command line will cause KILLTIME to run for 120 seconds then
  50. return to DOS.
  51.  
  52. KILLTIME is usefull whenever you wish to provide a moderate pause to the
  53. execution of a batch file.
  54.  
  55.