@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