| I'm wanting to do a btm which doesn't execute a command until a given
| time. I have thought of using @time with a loop until some time is
| reached. Do any other approaches occur?
You do not mention which command processor (4DOS, 4NT, TCMD32, 4OS2, TCC)
and which platform is of interest. However, all have the DELAY command
available, so you can calculate the delay necessary from the current
instance to the one when you want the command executed, and issue the DELAY
command with the appropriate delay time. This will use virtually no
resources until it is time for your command to be executed. Beware!
Different command processor versions may have different DELAY limits, e.g.,
for 4DOS 8 the limit is 3,600s (1h). If you need more delay, you may need to
loop on 1-h delay enough times...
Other 4DOS/4NT/TCC commands may also do the job for you.
If your platform in a version of WinNT, you can also schedule a Windows
service to start a new instance of the command processor at the specified