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

pstein

Extraordinary Member
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
 
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.
 
Back
Top