【发布时间】:2016-10-04 19:12:37
【问题描述】:
我写了一个批处理文件,我想用 nircmd.exe 运行另一个程序。但问题是我不能运行它?批处理文件(Matrix.bat)双击运行正常。但是当我尝试用 nircmd.exe 打开它时,它没有运行?为什么? 我尝试了两种方法:
RunMethod1.bat(用于运行另一个批处理文件)
SET INSTALLPATH=d:\atlantic
start %INSTALLPATH%\nircmd exec show %INSTALLPATH%\Matrix.bat
RunMethod1.bat(用于运行另一个批处理文件)
SET INSTALLPATH=d:\atlantic
%INSTALLPATH%\nircmd exec show %INSTALLPATH%\Matrix.bat
【问题讨论】:
标签: windows batch-file cmd