command prompt help

Status
Not open for further replies.

heffer

In Runtime
Messages
139
does anyone know how to stall a batch file from running? like if i wanted a 10 minute delay from when i double click the file.bat to it actually showing the command prompt.

and also, is there a way to delay a command in cmd? an example is if i had the following commands:

echo IT IS LUNCH TIME
echo IT IS 30 SECONDS PAST LUNCH TIME


how do i delay the second echo command by 30 seconds?
 
All you want is 30 seconds? Try pinging yourself 30 times in between the two commands. writing a quick VBS or Perl to incorporate a sleep would be how I would do it. But, for something extremely simple, try the 30 pings.

add a
ping 127.0.0.1 -n 30
in between the 2 echoes.
 
Status
Not open for further replies.
Back
Top Bottom