我正在处理一个powershell脚本,该脚本调用.ps1中的一个.bat文件来运行nmake,这对我来说没有任何意义,所以我希望在一个ps脚本中移动所有内容,将nmake添加到脚本中引发此错误The term 'NMAKE' is not recognized as the name of a cmdlet, function, script file...。有没有办法从powershell运行nmake?
发布于 2017-07-25 04:30:37
如果可执行文件的文件路径不在path环境变量中,则将其包括在内。例如:
& 'Path\to\nmake.exe' /arg1 pass /arg2 inhttps://stackoverflow.com/questions/45289004
复制相似问题