This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
Pauses the command processor for the specified number of seconds. This command is typically used in batch files.
timeout /t <timeoutinseconds> [/nobreak]| Parameter | Description |
|---|---|
/t<timeoutinseconds> | Specifies the decimal number of seconds (between -1 and 99999) to wait before the command processor continues processing. The value-1 causes the computer to wait indefinitely for a keystroke. |
| /nobreak | Specifies to ignore user key strokes. |
| /? | Displays help at the command prompt. |
A user keystroke resumes the command processor execution immediately, even if the timeout period has not expired.
When used in conjunction with the resource kit'sSleep tool,timeout is similar to thepause command.
To pause the command processor for ten seconds, type:
timeout /t 10To pause the command processor for 100 seconds and ignore any keystroke, type:
timeout /t 100 /nobreakTo pause the command processor indefinitely until a key is pressed, type:
timeout /t -1Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?
Was this page helpful?
Want to try using Ask Learn to clarify or guide you through this topic?