Win bat批处理 for 循环内部更新 time choice
choice 代替 ping 执行 sleep,看起来舒服点儿
@echo off
setlocal EnableEelayedExpansion
for /l %%i in (1,1,7) do (
taskkill /f /im xxx.exe
choice /t 3 /d y /n
start "" "C:\xxx.exe"
choice /t 3600 /d y /m "!date! !time! _%%i_ Wainting 3600s?"
)
pause