Time based Batch

Closed
T-Jazz - Dec 22, 2008 at 09:34 PM
 littlefox - Apr 18, 2010 at 02:30 AM
Hello,
Hi every one!!!!!!!!!

I have batch file. i want that certain line of batch file execute after every one second, not all the program only certain line. In VB we can do it by timmer setting as u know but how to do this in batch file.

Regards T-Jazz

Waiting for you help!
Related:

3 responses

@echo off
<your first command>
ping 127.0.0.1 -n 2 -w 1000>nul 2>nul
<your second command>
ping 127.0.0.1 -n 2 -w 1000>nul 2>nul
<your third command>
[...]
7
@echo off
command 1
PING 1.1.1.1 -n 1 -w 1000>nul
command 2
PING 1.1.1.1 -n 1 -w 1000>nul
command 3
PING 1.1.1.1 -n 1 -w 1000>nul

(Just repeat the same ping process after every command)
2
Just right this in a new line.

ping Localhouse -n 1 >nul

this will wait 1 second before going to the next line.

Nathan Ross
0