Windows 10 CmdPrompt (DOS batch) "timeout" from Win7 replaced by "sleep" in Win10?

pstein

Extraordinary Member
Joined
Mar 20, 2010
Messages
454
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.
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