View Single Post
  #2 (permalink)  
Old 05-16-2008, 09:50 AM
Bob I
Newsgroup Contributor
 
Posts: n/a
Re: wait/sleep command

Use

ping -n XXX 127.0.0.1

replace XXX with the desired number of seconds +1


yepiknowiam wrote:

> Is there a wait/sleep equilivant command for the command prompt? I know
> there is wscript.sleep for vbs files.
>
> I'm running a batch file and want to it pause a few seconds between commands.
>
> Haven't found much from microsoft. There is the waitfor command but it
> wasn't recognized.
>
> Thanks.


Reply With Quote

 
Old 05-16-2008, 09:50 AM