Support Forums

Full Version: Need help with batch file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I need to make a batch file that will display some text pause and display more text pause display text repeat. How would I do this?
(10-13-2009, 08:25 PM)joey23art Wrote: [ -> ]I need to make a batch file that will display some text pause and display more text pause display text repeat. How would I do this?


first you'll need sleep.exe
http://www.microsoft.com/Downloads/detai...laylang=en

Code:
@echo off
:start
echo "Print 1"
sleep 10
echo " Print 2"

goto start

OR without sleep.exe

Code:
@echo off
:start
echo "Print 1"
ping 1.0.0.0 -n 1 -w 5000 >NUL
echo " Print 2"

goto start

-w 5000 means 5seconds