批处理脚本.bat重启可执行文件.exe

@echo off
echo "wxRobot Restart"
taskkill /im wxrobotg.exe
echo "wxRobot Stop"
start /d "C:\wxRobot\" wxrobotg.exe
echo "wxRobot Start"
exit

Guess you like

Origin blog.csdn.net/hengchi_hengchi/article/details/120440104