Pausing Command Script
Author
Discussion

agent006

Original Poster:

12,058 posts

294 months

Tuesday 13th September 2005
quotequote all
Anyone know of a way to make an NT command script pause for a set amount of seconds before executing the next command?

Plotloss

67,280 posts

300 months

Tuesday 13th September 2005
quotequote all

slinky

15,704 posts

279 months

Tuesday 13th September 2005
quotequote all
Don't know if you can do it within a command script, but can you not just use a vb script to do the pausing before calling the command script, or use vb to script the command script?

HTH,

slinky

BliarOut

72,863 posts

269 months

Tuesday 13th September 2005
quotequote all
ping -n 5 (or no of seconds) 127.0.0.1 >null

Edited to add:
Should have read Plotty's link, it's basically the same

>> Edited by BliarOut on Tuesday 13th September 16:53

agent006

Original Poster:

12,058 posts

294 months

Tuesday 13th September 2005
quotequote all
Plotloss said:
http://malektips.com/dos0017.html

Its quite handy...


Ooh, a bodge, i like a good bodge i do.

Sorted. Although i could use the sleep command, but that's only for XP and 2003 and half our kit is 2000.

TheExcession

11,669 posts

280 months

Tuesday 13th September 2005
quotequote all
BliarOut said:
ping -n 5 (or no of seconds) 127.0.0.1 >null

Edited to add:
Should have read Plotty's link, it's basically the same

>> Edited by BliarOut on Tuesday 13th September 16:53

That's really trick, wish I'd thought of it all those years ago.....