Created
November 3, 2010 20:58
-
-
Save santa4nt/661703 to your computer and use it in GitHub Desktop.
A DOS script to "sleep" for a specified number of seconds.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call :sleep %~1 | |
goto:eof | |
:: ----------------------------------------------------------------------------- | |
:sleep | |
ping 127.1 -n 2 -w 1000 > NUL | |
ping 127.1 -n %~1 -w 1000 > NUL | |
goto:eof |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment