bat处理打开关闭exe

@echo off rem

rem 注释

tastkill /f /im a.exe

cd %CD%

%CD:~0,1%:

cd  %Cd%b

start %CD%a.exe

cd ..

%CD:~0,1%:

cd  %Cd%a

start %CD%b.exe

原文地址:https://www.cnblogs.com/dayspring/p/5532417.html