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.
Batch(Dos), Delay between command
Name: bbmak Date: December 29, 2007 at 03:57:03 Pacific OS: Win XP CPU/Ram: 1024
Comment:
I want a few second delay between each line when executed. Are there anyway to do it? like 5 seconds delay.
Name: Mechanix2Go Date: December 29, 2007 at 09:24:55 Pacific
Reply:
ping 1.1.1.1 -n 1 -w 300000
===================================== If at first you don't succeed, you're about average.
M2
0
Response Number 2
Name: User123456789 Date: January 3, 2008 at 03:55:09 Pacific
Reply:
Until the day that MS provides us with a correct to do that, you can get a Windows ported "sleep" command, from the internet ...
... or you can use "CHOICE", stolen from another (old) Windows version, which is actually a command to query user input, but it has got a time-out functionality, like "ping".
Summary: When you copy and paste the above into a batch file, it needs to be formatted just like it looks in response 3 Instead of being on one line it will be multiple lines. Thats what the ( is doing after ...
Summary: Hi M2, I do not understand in deep the problem that originated this thread as what posted should not happen at all, anyway about the commands you posted 1) the ErrorLevel always refers just to the pr...
Summary: I need to do this daily and it would be of great help if it would be possible to handle with some batch file. I have a tool wich downloads a certain content in xml form and it has optional command to ...