Default PATH system variable for Windows? [closed]

2019-03-19 09:23发布

问题:

I've accidentally messed up the PATH variable in Windows and I'm wondering if anyone could provide the default for me.

回答1:

My freshly installed Windows 8.1 has the following value in PATH:

C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;


回答2:

%JAVA_HOME%\bin;C:\oraclexe\app\oracle\product\11.2.0\server\bin;%ANT_HOME\bin;%JAVA_HOME%\bin;C:\Oracle\bin;C:\Informatica\9.1.0\DataTransformation\bin;C:\Informatica\9.1.0\clients\tools\datadirect;C:\Informatica\9.1.0\clients\DeveloperClient\bin;C:\Informatica\9.1.0\clients\java\jre\bin\server;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Lenovo;C:\Program Files (x86)\Perforce;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Intel\Services\IPT\;C:\Program Files (x86)\Lenovo\Access Connections\;C:\Program Files (x86)\Git\cmd

This is mine, I think you modify it based on the software you installed.