【发布时间】:2013-11-15 18:54:33
【问题描述】:
我不小心弄乱了 Windows 中的 PATH 变量,我想知道是否有人可以为我提供默认值。
【问题讨论】:
-
查看superuser.com/a/113656 以恢复最后一个已知的配置
标签: windows default system-variable
我不小心弄乱了 Windows 中的 PATH 变量,我想知道是否有人可以为我提供默认值。
【问题讨论】:
标签: windows default system-variable
我新安装的 Windows 8.1 在PATH 中有以下值:
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;
【讨论】:
PATH= 部分是路径的NOT 部分。如果其他人通过将其粘贴到您的环境变量窗口(而不是命令行)来尝试此解决方案,那么您需要将其删除。
%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
这是我的,我想你根据你安装的软件修改它。
【讨论】: