Timeout
http://technet.microsoft.com/en-us/library/cc754891.aspx
timeout /t <TimeoutInSeconds> [/nobreak]
timeout /t 10
timeout /t 100 /nobreak
To pause the command processor indefinitely until a key is pressed, type:
timeout /t -1
for older windows, using
ping 127.0.0.1 -n 5 -w 1000 > nul
In PowerShell
Start-Sleep -s 5
powershell -command "Start-Sleep -s 5"
Start-Sleep -m 10000
http://technet.microsoft.com/en-us/library/cc754891.aspx
timeout /t <TimeoutInSeconds> [/nobreak]
timeout /t 10
timeout /t 100 /nobreak
To pause the command processor indefinitely until a key is pressed, type:
timeout /t -1
for older windows, using
ping 127.0.0.1 -n 5 -w 1000 > nul
In PowerShell
Start-Sleep -s 5
powershell -command "Start-Sleep -s 5"
Start-Sleep -m 10000
No comments:
Post a Comment