The Wait.exe utility pauses batch processing for a specified number of seconds. For example, the statement "Wait 40" pauses batch processing for 40 seconds. If no parameters are specified, batch processing pauses for 30 seconds. This utility is especially useful in wait loops.
Usage:
Wait [/APP:<Application>] <number of seconds>|
/APP:<Application> |
= |
Sets the application name from which the wait originates when the Windows environment variable AmtAppName has not been set. |
|
<No of seconds> |
= |
Number of seconds to wait before continuing execution of the batch or script. |
A wait(0) does not suspend a report or form, but it does process any stop signal from Control Center, any interrupts, and any wakeup commands.