Windows – How to change the system path when it is already too long

pathwindowswindows 7

In windows 7, my system path is too long. I want to edit it so I can remove some unneeded paths. However when I click advanced system settings …

[Window Title] %windir%\system32\systempropertiesadvanced.exe

[Content] Windows cannot find
'%windir%\system32\systempropertiesadvanced.exe'. Make sure you typed
the name correctly, and then try again.

[OK]

Since the path is now too long, I can't edit the path anymore ….

Is there another way to edit the system path?

EDIT

I found it in regedit at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\Path

Now I just need to know what a healthy path should look like …

Best Answer

Alternatively, you can launch the executable that the system is trying to launch, explicitly

%windir%\system32\systempropertiesadvanced.exe

can be found in the folder

c:\windows\system32\systempropertiesadvanced.exe (the system drive and windows folder can vary)

and then can easily modify the path in the environment variables.

Related Question