IT Management Suite

 View Only

Pause Batch Script for a Number of Seconds 

Jun 26, 2008 12:17 PM

There are a few ways to have a batch script wait for a number of seconds. The simplest and most widely available without any additional programs is to use the ping command.

The following is is an example... PING!

ECHO Waiting 5 seconds
PING 1.1.1.1 -n 1 -w 5000 > NUL

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads