Windows-bat-loop for restart exe
July 10, 2020 2:09 AM
周期重启某个指定的程序
@echo off
:start
choice /t 10 /d y /n >nul
cd C:UsersAdministratorDesktopXXXX.exe
choice /t 10 /d y /n >nul
taskkill /F /IM XXXX.exe
goto start
July 10, 2020 2:09 AM
@echo off
:start
choice /t 10 /d y /n >nul
cd C:UsersAdministratorDesktopXXXX.exe
choice /t 10 /d y /n >nul
taskkill /F /IM XXXX.exe
goto start