Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help with batch file
#1
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?
Reply
#2
(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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)