View Single Post
Old 01-07-2007, 06:41 PM   #1 (permalink)
jamesbond007
 MacManiac
 
jamesbond007's Avatar
 
Join Date: Jan 2005
Location: Nalgonda
Posts: 707
Default Batch Programming

I want to know if there is a command in Dos that will delay the

execution of a set of commands in a batch file ?
Suppose I have a batch file with 2 commands as follows :

dir >> list.txt
netstat -n

Now I'd like to add a command in between dir and netstat, like

delay(X), which would delay the execution of netstat by X seconds.
I mean after dir the batch file should wait for the time I mention and

then execute the next command. So does Dos have a command like delay ??
__________________
Why doesn't Airport automatically connect to the default Wireless network after a power cut ??
jamesbond007 is offline