BATCH Windows: 30 minutes
-
20-09-2019 - |
Question
I want to do something:
i have a LARGE batch file, but this is what i want to apply to HOLE the batch:
After 30 Minutes, it should display a message.
How is this possible, and can i set this to the hole batch. I kinda have a lot of stuff in it.
Solution
you can download sleep.exe from the windows resource kit. OR you can use ping. Otherwise, here's an implementation with vbscript
WScript.Sleep WScript.Arguments.Item(0) 'in milliseconds.
save as sleep.vbs and use it in your batch
cscript /nologo sleep.vbs 3000
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow