Windows-bat-loop for restart exe

时间:2020-07-10 09:20:47   收藏:0   阅读:79

Windows-bat-loop for restart exe

July 10, 2020 2:09 AM

周期重启某个指定的程序

@echo off
:start
choice /t 10 /d y /n >nul
cd C:\Users\Administrator\Desktop\XXXX.exe
choice /t 10 /d y /n >nul
taskkill /F /IM XXXX.exe
goto start
评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!