1.    15 Apr 2017 #1
    Join Date : Jan 2017
    Posts : 5
    Win10

    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 ComputerSystem Spec
  2.    15 Apr 2017 #2
    Join Date : Mar 2015
    Sydney, NSW
    Posts : 93
    Windows 10

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

 


Similar Threads
Thread Forum
Context menu "Properties" uses "o" shortcut instead of "r"
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....
General Support
Solved Context menu "New" missing, seems to be replaced by "cmd"
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. ...
General Support
Change Timeout "Windows could not load all network drives" annoying
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...
Network and Sharing
Drive With User Data Replaced; System Stuck In "Automatic Repair" Loop
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...
General Support
Account "require sign-in" timeout not working on tablet
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...
General Support
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 00:35.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums