How can I make a batch file pause for "x" amount time before continuing to process other lines?

How can I make a batch file pause for "x" amount time before
continuing to process other lines?

(where "x" is some unit of time rather than some action or event)
happycatAsked:
Who is Participating?
 
LeeTutorretiredCommented:
In your other question, I mentioned a book called Pc Magazine DOS Power Tools Techniques, Tricks and Utilities, by Paul Somerson, which contained a utility called LOOP.COM which is useful for programming loops in a batch file.  This book also has a useful batch file utility for pausing for x seconds (or until a key is pressed) called WAIT.COM.  The utility can only wait up to 59 seconds, but if you need longer than that, use multiple instances or even a loop to extend it.  Here is where you can get the book:

http://www.amazon.com/exec/obidos/search-handle-url/index%3Dbooks%26field-keywords%3Ddos%252520power%252520tools%26store-name%3Dbooks/104-7162452-4822318
0
 
happycatAuthor Commented:
Thanks. I found a freeware utility called "hold!"

usage [hold!] [seconds] [option]
option c is to show countdown.

http://www.filelibrary.com/Contents/DOS/51/5.html
http://www.filelibrary.com:8080/cgi-bin/freedownload/DOS/h/51/hold!.zip

Works like a charm.
0
 
happycatAuthor Commented:
Correction, it's shareware.
0
 
LeeTutorretiredCommented:
As requested by you in your other question, I have sent you an email attachment of both loop.com and wait.com zipped up.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.