Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: max in montreal on October 01, 2012, 04:43:00 PM



Title: placing a pause in a .bat file
Post by: max in montreal on October 01, 2012, 04:43:00 PM
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.


Title: Re: placing a pause in a .bat file
Post by: gusti on October 01, 2012, 04:54:46 PM
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



Title: Re: placing a pause in a .bat file
Post by: hamdi on October 01, 2012, 05:01:08 PM
vista upwards:
timeout /T 123  > nul


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



replace 123 with your seconds...