Home > Bookmarks, Tech, Windows > Delay in Batch File ( Batch File Help )

Delay in Batch File ( Batch File Help )

August 9th, 2009 Leave a comment Go to comments

Batch DOS
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

or

ping -n 60 127.0.0.1 >nul

Batch File Examples:

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

GoCache - ByREV-Cache v1.0 - live served in : 0.171108 sec (gzip)