bat

延时10s
start /min /wait mshta vbscript:setTimeout("window.close()",10000)

ping -n 3 127.0.0.1>nul
说明:3为ping包发送次数,可作为延迟秒数进行使用,需要延迟几秒就设置几。
>nul避免屏幕输出,将输出输入到空设备,因为不需要结果,仅用到其定时功能。

原文地址:https://www.cnblogs.com/muhe221/p/6656169.html