Time in messages?

January 31, 2011 at 21:49:21
Specs: Windows 7
How do I set time between echoing messages?

:A
echo 1
>
echo 2
>
echo 3

I want to set time between the messages with ">" under them.


See More: Time in messages?

Report •


#1
February 1, 2011 at 13:20:11
What is meant by "time"? Do you mean a delay before the next command? If so just ping the loop back like...

echo 1
@ping 127.0.0.1 -n 10 > nul
echo 2
@ping 127.0.0.1 -n 10 > nul
echo 3
@ping 127.0.0.1 -n 10 > nul

This will wait 10 seconds between commands. change the -n to 1 if you only want to wait 1 second.

In newer operating system, there is a WIAT command.


Report •
Related Solutions


Ask Question