Author

Topic: placing a pause in a .bat file (Read 1295 times)

hero member
Activity: 826
Merit: 500
October 01, 2012, 12:01:08 PM
#3
vista upwards:
timeout /T 123  > nul


better use, works all windows
ping -n 123 127.0.0.1 > NUL



replace 123 with your seconds...
legendary
Activity: 1099
Merit: 1000
October 01, 2012, 11:54:46 AM
#2
You need to call an external program which will supply the pause :

e.g.  ping 123.45.67.89 -n 1 -w 10000 > nul

or : choice /c a /d a /t 10 /n

hero member
Activity: 504
Merit: 500
October 01, 2012, 11:43:00 AM
#1
I created a batch file in windows to start mining when the pc is rebooted, how to i create a pause before it starts the commands. I want to pause the batch file 2 minutes before starting the miners.
Jump to: