home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-386-Vol-2of3.iso / r / repeatat.zip / REPEAT.BAT < prev   
DOS Batch File  |  1992-03-05  |  1KB  |  30 lines

  1. @echo off
  2. rem echo off for « DOS 3.3
  3. if "%1"=="" goto help
  4. rem Firstly: restarting timed REPEAT
  5. at %1 %0 %1 %2 %3 %4 %5 %6 %7 %8 %9
  6. rem Secondly: starting timed event
  7. at %1 %2 %3 %4 %5 %6 %7 %8 %9
  8. at ?
  9. rem This starts both a new period and the time delayed DOS command
  10. rem within a few seconds for at least a minute ahead.
  11. rem If desired to start a new time interval _after_ termination of an
  12. rem application this BATch file can not be used and the user has to take
  13. rem care of that himself by way of a batch file, restarting AT.
  14. goto end
  15. :help
  16. echo REPEAT.BAT by Jim Groeneveld, 5 March 1992; applying AT utility.
  17. echo CMI-TNO, Leiden, NL; +31 71 181810; GROENEVELD@CMI.TNO.NL
  18. echo.
  19. echo REPEAT repeats a DOS command _every_ specified time (period), using AT.
  20. echo REPEAT periodically calls itself. Remove events using AT directly.
  21. echo.
  22. echo Usage: [drive:][\path\]REPEAT [+][hh:]mm[am│pm] «DOS command line»
  23. echo Only applicable with single relative or absolute times (no dates):
  24. echo «[+]time» as the first and only time parameter.
  25. echo.
  26. echo The DOS command line may contain a maximum of 7 parameters.
  27. echo Do not use piping or redirection in the DOS command line.
  28. echo If desired use that in a batch file called by REPEAT(/AT).
  29. :end
  30.