Page 1 of 1

Delay an internet related command at startup

Posted: 10 Nov 2013 00:30
by drgt
Hi
I want to sync my clock at startup.
There is a delay till all processes and network starts.

Will this work even if network has not started yet?

ping -w 1000 -n 300 127.0.0.1 >nul
w32tm /resync

Re: Delay an internet related command at startup

Posted: 10 Nov 2013 01:43
by foxidrive
It may work - put a pause after the ping command and see if it appears later.

If you have Vista or later then you can use the timeout command.

Delay an internet related command at startup

Posted: 10 Nov 2013 01:57
by drgt
No, I have XP...

Thanks.