Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
using a WAIT command in a batch file
Name: Andy P Date: December 10, 2001 at 19:56:57 Pacific
Comment:
Hi folks,
Hoping someone out there can help me. Im trying to run a series of batch files, one after the other. At first I was hoping to be able to kick one off after the other by somehow when done, the previous batch file passes some kind of "im finished" indicator to the next line of the batch file. So firstly..does..can anyone do this using MS DOS (and Win NT 4.0) in a batch file?? if not, then the other option i was looking at was a WAIT command, so wait X seconds before doing the next step. Again seems like Im asking for alot as good ol DOS doesnt have the command to do this!!
So please please please does anyone have the guru status to help me out???
The WAITFOR file works great. You set the lag by seconds and then you can use the /nk switch for no keystrokes.
ex WAITFOR 2 /nk is what I used so a client could use an old DOS program that accessed a DB using Btrieve 5.10 on a machine running WinXP. Old Paint program from Spies Hecker.
Summary: Hi, try to use the "call"-Command in your Batch-File. You will have to create a second Batch-File in which you put the executable-Command. And then you "call" the Batch-File from your first Batch-File...
Summary: Hi all, I have a unique question here regarding the command utility pullmail and batch files. I'm using pullmail to grab mail from a non-local POP3 mail server in the UK and forward it to an Exhchange...
Summary: ::------------------------------------------- ::Create a batch file called wait.bat ::add the following line below. ::For batch files that neeed to ::pause for a period of time. ::To use just at the...