计划任务执行bat

@echo off
taskkill /f /t /im ControlKJmen.exe
taskkill /f /t /im KJMen.exe
taskkill /f /t /im DisplayLog.exe
taskkill /f /t /im CatchPackage.exe

set "str=E:auto toolke.qq.com"
start "" "%str%DisplayLog.exe"
start "" "%str% un.exe"

记得加上引号,具体还不知道为什么要加

加引号的原因如下:

由于start将第一个双引号中的内容当成标题,所以先要加一对空引号,将文件名放在第二个双引号内,因为路径有空格必须要加双引号,没有的话应该是不用加的

from:https://zhidao.baidu.com/question/518672846701533885.html

from:http://www.bathome.net/thread-15076-1-1.html

原文地址:https://www.cnblogs.com/xuan52rock/p/7793463.html