📎 AI Summary:
The original poster inquires whether the "timeout" command, used in DOS batch scripts on Windows 7 to pause execution, has been replaced by "sleep" in Windows 10. Respondents clarify that Windows 10 still includes the "timeout" executable and that there isn't a native "sleep" command in command prompt or batch scripts; instead, "Start-Sleep" is available in PowerShell for pausing script execution. The overall discussion indicates that "timeout" remains present in Windows 10, and "sleep" is a PowerShell command rather than a batch script command.

pstein

Extraordinary Member
Joined
Mar 20, 2010
Messages
454
Thread Author #1
In DOS batch scripts under Windows 7 there was a function "timeout" which stops the execution for n seconds.

This command seems to be replaced by "sleep" in DOS batch scripts under Win10.

Is this true?

Peter
 

Solution
Technically there isn't any sleep function in command prompt / batch files timeout is a executable and it is still present in Windows 10. In powershell there is a cmdlet called Start-Sleep.

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,995
Technically there isn't any sleep function in command prompt / batch files timeout is a executable and it is still present in Windows 10. In powershell there is a cmdlet called Start-Sleep.
 

Solution