[Batch File]Time based actions
Issue
Upon creating a batch file you want that certain line of batch file is executed after every second (not all the program only certain line). In VB we can do it using the Timer setting , but how to implement this in batch file.
Solution
@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>
[...]
Thanks to
Benoit for this tip.