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

  1.    #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?

      My ComputerSystem Spec

  2. Posts : 93
    Windows 10

    Microsoft Windows [Version 10.0.14393]
    (c) 2016 Microsoft Corporation. All rights reserved.
    'sleep' is not recognized as an internal or external command,
    operable program or batch file.

    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 ComputerSystem Spec


Related Threads
One of our Win10 laptops has a context menu with "Properties" that uses shortcut key "r". The other uses key "o" which conflicts with "open". I have no idea how it got corrupted. Suggested locations in the registry for context menu doesn't list it....
I just realized today that the "new" context menu has disappeared every in windows 10. And a new item that wasn't there before "cmd" has popped up. See screenshot. 110666 When I press "cmd" I get the following error in the screenshot below. ...
I have 2 Nas and sometimes a third and its annoying as he.. that when ever i reboot "which i do a lot" i get the Windows could not load all network drives. Its a problem because i have to open Explorer and click the Red mark over my Nas or else my...
Hi! Several years ago I built a desktop computer for my friend. I installed Windows 7 Ultimate on this, in the 64 bit version, and I followed user Kari's tutorial for placing User data and ProgramData on a separate physical hard drive. The system...
This is about to make me go back to Win 8.1. Doesn't matter what I have the "require sign-in" set to under account settings (including never), if I press the power button and sleep my Surface 3 even for 30 seconds it requires me to log in again...
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 16:13.
Find Us