Delay in Batch File ( Batch File Help )

The simple way to make a bat file wait a or delay a set period of time like 60 sec:

ping -n 60 localhost >nul


ping -n 60 >nul

Below is an example of a simple batch file

@echo off
start “command1” “c:\Program Files\….”
ping -n 10 localhost >nul
start “command2” “C:\Program Files\….”

Happy Coding!

byrev Written by:

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *