|
|
![]() |
|
|
Top | #1 |
|
Are we there yet?
Joined: May 2002
Location: In a house
Posts: 177
Reputation: 40
Power: 124 |
|
|
|
|
|
|
Top | #2 |
|
I'm sorry Hal...
Joined: January 2002
Location: England
Posts: 5,514
Reputation: 1210
Power: 194 |
I don't think you can do it on the batc file but this program
http://www.r2.com.au/software.php?pa...how=startdelay allows you to specify a startup order and delay items, so you should be able to put the batch file in startup and use this |
|
|
|
|
|
Top | #3 |
|
Are we there yet?
Joined: May 2002
Location: In a house
Posts: 177
Reputation: 40
Power: 124 |
I found a round-about way of creating the delay, but for anyone who wants to know how I did it; I pinged and invalid IP address once with a timeout of 60 seconds, works perfect!
ping 1.1.1.1 -n 1 -w 60000 This way the time delay can be easily be changed. |
|
|
|
|
|
Top | #4 |
|
I'm sorry Hal...
Joined: January 2002
Location: England
Posts: 5,514
Reputation: 1210
Power: 194 |
Nice work around, i'll have to remember that
|
|
|
|
|
|
Top | #5 |
|
_________________
Joined: July 2002
Posts: 1,557
Reputation: 160
Power: 136 |
Agreed, nice workaround.
Alternatively you could use sleep.exe from the Windows Server 2003 (and XP) Resource Kit Tools. In case you don't want to download 12 MB to get a 5 KB file, find it attached. Unzip into your system32 folder. Now a line like Sleep 10 will pause a batch file for ten seconds. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| running a batch file from a command window launched from a c sharp program | Complete | Web Design & Coding | 1 | March 27th, 2008 11:13pm |
| delay in searching | gillmacca | Windows Desktop Systems | 15 | July 6th, 2005 11:24am |
| Odd delay | torrent | Windows Desktop Systems | 6 | February 16th, 2002 11:25am |
| startup delay | jbob | Windows Desktop Systems | 8 | February 9th, 2002 9:47am |
| One click delay | kensiko | Windows Desktop Systems | 2 | February 1st, 2002 11:15pm |