Windows 无法识别添加到其中的路径
有人知道为什么PATH不能识别目录中的可执行文件吗 你试过结尾吗?您还可能需要重新启动(或从当前cmd打开一个新cmd)才能看到对路径的更改。这可能与您的路径中没有Windows 无法识别添加到其中的路径,windows,path,cmd,Windows,Path,Cmd,有人知道为什么PATH不能识别目录中的可执行文件吗 你试过结尾吗?您还可能需要重新启动(或从当前cmd打开一个新cmd)才能看到对路径的更改。这可能与您的路径中没有C:\Windows\system32有关。另外,确保PathText中有.EXE。 C:\Users\jamiller>PATH PATH=C:\Windows\Microsoft.NET\Framework\v4.0.30319; C:\Users\jamiller>msbuild 'msbuild' is not
C:\Windows\system32
有关。另外,确保PathText中有.EXE
。
C:\Users\jamiller>PATH
PATH=C:\Windows\Microsoft.NET\Framework\v4.0.30319;
C:\Users\jamiller>msbuild
'msbuild' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\jamiller>cd C:\Windows\Microsoft.NET\Framework\v4.0.30319
C:\Windows\Microsoft.NET\Framework\v4.0.30319>msbuild
Microsoft (R) Build Engine version 4.0.30319.33440
[Microsoft .NET Framework, version 4.0.30319.34014]
Copyright (C) Microsoft Corporation. All rights reserved.
MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.
C:\Windows\Microsoft.NET\Framework\v4.0.30319> wat