sleep command (stops for a specified period of time)
- Organization of this page
Format
sleep seconds
Description
This command suspends execution for a specified period of time.
Arguments
Return codes
Return code |
Meaning |
---|---|
0 |
Normal termination |
1 or greater |
Error termination |
Usage 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