@Echo Off
If "%1" Equ "OK" Goto Loop
Start /Min %~Fs0 OK&Exit
:Loop
MsHta VbScript:CreateObject("Wscript.Shell").SendKeys("{F5}")(Window.Close)
MsHta JavaScript:document.write();setTimeout('close()',10000); //10秒刷新一次
Goto Loop
本文共 267 字,大约阅读时间需要 1 分钟。
@Echo Off
If "%1" Equ "OK" Goto Loop
Start /Min %~Fs0 OK&Exit
:Loop
MsHta VbScript:CreateObject("Wscript.Shell").SendKeys("{F5}")(Window.Close)
MsHta JavaScript:document.write();setTimeout('close()',10000); //10秒刷新一次
Goto Loop
转载于:https://blog.51cto.com/sunrc/1335756