Before the question show, i use cmd order path = %path%D:\test
to add a root in PATH(eniroment variable).When i use cmd order echo %path%
, it shows:
D:\VMware Workstation Pro\bin\;C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot\bin;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files (x86)\dotnet\;D:\ffmpeg\bin;D:\mingw64\bin;D:\py3.7\Scripts\;D:\py3.7\;C:\Users\admin\AppData\Local\Microsoft\WindowsApps;D:\Microsoft VS Code\bin;D:\ffmpeg\bin;D:\test
But,when i go into the computer property, it shows:
Obviously, D:\Test
is lost in the the PATH in the computer property of the enviroment value PATH.
I want to know why and how to fix the problem.
Thank you.