Wednesday, March 21, 2012

Pause in dos (.bat files)

For any MS-DOS or Windows version with a TCP/IP client, PING can be used to delay execution for a number of seconds.
If specified (-w switch), PING will wait for a number of milliseconds between two pings before giving a time-out.

PING 1.1.1.1 -n 1 -w 60000 >NUL

No comments:

Post a Comment