J
Jay Somerset
Is there any way to pause for a specified number of seconds in a CMD script?
Like the UNIX "sleep" command?
Like the UNIX "sleep" command?
Ray at said:Oops. This would display the wrong number of seconds since I added 1 to the
input value. My bad. ;]
Phil Robyn said:Ray at said:Oops. This would display the wrong number of seconds since I added 1 to the
input value. My bad. ;]
No, Ray, what you did (add one second) was in fact correct.
To pause for 10 seconds, use 'ping -n 11 localhost > nul'.
--
Phil Robyn
Univ. of California, Berkeley
u n z i p m y a d d r e s s t o s e n d e - m a i l