发布网友
共2个回答
热心网友
BAT代码如下:
tasklist | find/i "a.exe"
if %errorlevel%==0 (
b.exe
goto end
)
c.exe
:end
热心网友
IF EXIST a.exe (b.exe) ELSE (c.exe)