Pause for N Seconds with timeout.exe
Use the built-in timeout command to wait a fixed time in CMD or batch scripts, with optional keypress-to-skip.
01Command
$ timeout /t 10 /nobreak02What it does
timeout /t <seconds> counts down and lets the user skip the wait by pressing any key; /nobreak ignores keys except Ctrl+C. It works in interactive CMD and batch files, but inside non-interactive contexts (Task Scheduler scripts without input redirection, PowerShell pipelines) it fails with 'ERROR: Input redirection is not supported' — there, use PowerShell's Start-Sleep instead.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- timeout - SS64Evidence: Reference for timeout including the /nobreak and /nobreak behaviors and caveats in piped contexts.
- timeoutEvidence: Documents timeout /t with /nobreak and the ignore-keyboard-input flag.
Last verified: 2026-09-17 · Category: System & Settings
06Related solutions
One command that shows OS version, install date, boot time, memory, network adapters and installed hotfixes.
Built-in Windows command to compute MD5, SHA1 or SHA-256 hashes of any file.
Remove hidden, system and read-only flags from files or whole directory trees.