Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Default PATH system variable for Windows? [closed]

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

like image 853
Timtech Avatar asked Nov 05 '13 00:11

Timtech


People also ask

What is default of PATH in system variable?

The default directory path for most versions of Windows is c:\Windows (for Windows NT 4 and 2000, it is c:\WinNT).

How do I reset the PATH variable in Windows?

Go to "My Computer" properties -> "Advanced system settings" -> click on "Advanced" tab -> click on "Environment Variables" button -> Edit "PATH" variable and paste everything copied in the third step in -> Variable value: box. Click OK in all the opened windows.

What is the default PATH system variable for Windows 10?

A typical path is C:\Windows\System32. The Windows directory or system root. This corresponds to the %WINDIR% or %SYSTEMROOT% environment variables.

What happens if path variable is deleted?

The implications are that Windows will probably be unable to find some programs. One solution would be to do a restore to factory settings. You might try finding another similarly configured system and writing down what's in their PATH variable, then going back to edit it back into your PC.


2 Answers

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\;
like image 143
Eric Brown Avatar answered Sep 27 '22 20:09

Eric Brown


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

like image 33
Jack Zhang Avatar answered Sep 27 '22 21:09

Jack Zhang