Sleep function in batch

通用:

1
ping 127.0.0.1 -n 5 -w 1000
  • -n 1 only attempt to connect once.
  • -w 3000 wait 3 seconds for reply.

Windows Server 2003 / Windows Vista 以上

1
timeout /T 5
0%