windows查看程序的启动详细参数

wmic process get caption,commandline /value | findstr "WXWork.exe"

windows查看程序启动参数,通过bat定时重启程序

Windows通过bat脚本,即可重启程序

配合计划任务,可以定时重启程序

@echo off
echo "QTranslate Restart"
taskkill /im QTranslate.exe
echo "QTranslate Stop"
start /d "E:\program\QTranslate\" QTranslate.exe
echo "QTranslate Start"
exit

相关命令

  • taskkill 杀死应用程序
  • start /d 启动应用程序

相关文章: