Home
> Commands N-Z
> Batch S
SLEEP
Description
| Syntax
| Parameters
| Switches
| Related
| Notes
| Examples
| Errorlevels
| Availability
Add a fixed delay to a batch file.
Syntax
SLEEP
time
Parameters
- time
(NT4)
- The number of seconds to pause.
Switches
none.
Related
TIMEOUT - Delay that allows the user to
continue.
WAIT - the same as sleep but with noises.
Equivalent Linux BASH commands:
crontab - Schedule a command to run at a later time.
Notes
none.
Examples
To pause for an hour before running the next command in a
batch file:
SLEEP 3600
Errorlevels
none.
Availability
- External Resource Kit
-
- DOS
-
none
- Windows
-
none
- Windows NT
-
NT4
Last Updated: 2003/07/28
Direct corrections or suggestions to:
Rick Lively