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

有帮助吗?

解决方案

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\;

其他提示

%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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top