- @echo off
- if "%1"=="h" goto begin
- start mshta vbscript:createobject("wscript.shell").run("""%~nx0"" h",0)(window.close)
- exit
- :begin
- for %%a in (c d e f g) do (
- for /f "delims=" %%b in ('dir /a/s/b "%%a:\TTPlayer.exe" 2^>nul') do (
- start mshta vbscript:createobject("wscript.shell").run("""%%~sb"" h",0)(window.close)
- )
- )
- >"%temp%\sleep.vbs" echo wscript.sleep 2500
- start "" /wait "%temp%\sleep.vbs"
- mshta vbscript:CreateObject("Wscript.Shell").popup("现在时间是:08:44 请准备对时间",30,"提示",vbOKOnly)(window.close)
- taskkill /f /im mshta.exe
- taskkill /f /im TTPlayer.exe
复制代码
|