8.4.29 sleep command (stops for a specified period of time)
Syntax
sleep seconds
Description
This command suspends execution for a specified period of time.
Arguments
- seconds
Specifies the amount of time in seconds that execution is to be suspended. If a non-numeric value is specified, the command's usage is displayed.
Return codes
Return code |
Meaning |
---|---|
0 |
Normal termination |
1 or greater |
Error termination |
Examples
Suspend execution for five seconds.
C:\TEMP>%ADSH_OSCMD_DIR%\sleep 5
Show what happens if a non-numeric value is specified for seconds.
C:\TEMP>%ADSH_OSCMD_DIR%\sleep poipoi usage: sleep seconds