PDA

Click to See Complete Forum and Search --> : My PATH is too long


Pallex
May 30th, 2002, 09:38 AM
I`m using windows2000.

I think my path is too long. I want to change it - is there a list somewhere of all the places (registry, files, settings) that the path can be added to. By the time i get to a dos box, its 4 lines long. There are some .nt files which contain path definitions, and you can right click on `my computer` and choose properties/advanced then play with the path, but there are some entries which are neither in those two locations nor in the registry. Any idea?

filburt1
May 30th, 2002, 11:42 AM
Right-click My Computer, select Properties, Advanced Tab, Environment Variables button.

Pallex
May 31st, 2002, 04:17 AM
yep, i mentioned that in my question though :) I want a list of ALL the places the path can be set - thats just one!

filburt1
May 31st, 2002, 11:22 AM
In a command console:

set PATH=the path

Pallex
May 31st, 2002, 11:28 AM
I think the problem is that my question isnt really about the path as such, its more to do with what happens when you boot up windows. you can stick additions to the path all over the place - not just in the `my computer` thingy - so if you have the problem that i have, which is a path so long that other apps fail (ie vc++ v1.52), and you want to remove some entries from the path, you pretty much have to GREP every file on your hard drive and see which .bat, .nt etc file is adding it to the path!!

sorry if i caused any confusion or offence! :)

filburt1
May 31st, 2002, 12:47 PM
Oh...well any program can access the PATH variable, even VB, so check your startup. Yes, autoexec.bat is also famous for this but I don't know if 2000 even parses it anymore (if I find an autoexec.bat I just delete it).