Delay execution of a batch file.
Syntax
TIMEOUT delay
Key
delay :Delay in seconds (between -1 and 100000) to wait before continuing.
The value -1 causes the computer to wait indefinitely for a keystroke
(like the PAUSE command)
Timeout will pause command execution for a number of seconds,
after which it continues without requiring a user keystroke. If the user does
press a key at any point, execution will resume immediately.
Timeout.exe seems to consume less processor time time than Sleep.exe
"It is awful work this love and prevents all a mans projects of good
or glory" - Lord
Byron
Related:
PAUSE - Suspend processing of a batch file and
display a message
SLEEP - Fixed delay
WAIT - Fixed delay
Powershell: Start-Sleep - Suspend shell, script, or runspace activity (sleep)