Windows Bat脚本实现定时重启应用程序
EXE重启bat脚本
@echo off
echo "killing application ..."
taskkill /f /im wemeetapp.exe
echo "application was killed successfully."
@ping 127.0.0.1 -n 6 >nul
echo "starting application"
cd /d E:\"Program Files"\WeMeet\
E:\"Program Files"\WeMeet\wemeetapp.exe
echo "it will exit in 6 sec."
@ping 127.0.0.1 -n 6 >nul
exit