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