CmdPrompt "timeout" from Win7 replaced by "sleep" in Win10?


  1. Posts : 128
    Win10
       #1

    CmdPrompt "timeout" from Win7 replaced by "sleep" in Win10?


    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
      My Computer


  2. Posts : 93
    Windows 10
       #2

    Nope.
    Code:
    Microsoft Windows [Version 10.0.14393]
    (c) 2016 Microsoft Corporation. All rights reserved.
    
    C:\Users\Pyprohly>sleep
    'sleep' is not recognized as an internal or external command,
    operable program or batch file.
    
    C:\Users\Pyprohly>

    The timeout command is used primarily for batch scripting. Everyone is trying to forget about batch files and the language isn’t expected to receive any more updates any time soon.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 04:34.
Find Us




Windows 10 Forums