Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/opencv/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows 无法识别添加到其中的路径_Windows_Path_Cmd - Fatal编程技术网

Windows 无法识别添加到其中的路径

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

有人知道为什么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 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