Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Windows XP used to set the environment variable Path of a command prompt to <system_PATH><user_PATH>. Perhaps after a software installation, its behavior changed to picking up <system_PATH> only. How do I configure it to pick up <user_PATH> again?

share|improve this question
up vote 1 down vote accepted

The above answer by prrao didn't apply because they didn't understand the question. I am noticing the exact same behavior on a VirtualBox WinXP install. I created a new user and went over to it via log out and log in and it worked properly there. But, as soon as I came back to the user account having the problems, it remained broken.

So, at least I ruled out that it was something specific to that actual user profile.

The solution I then finally discovered was what appears to be a size limitation. I trimmed the contents of the user's Path environment variable down to a much smaller size and moved some of it into the system environment variable block and then it started working again. So, I recommend that you try and shorten it up and see if that will make a difference.

share|improve this answer
yes, i found the size of the path must be under 1024. – Candy Chiu Jan 10 '13 at 21:24
exactly the problem solved. – Mifeng Jun 13 '13 at 6:05
  1. Click on Start > Run, type regedit.exe. Navigate to the following branch: HKEY_CURRENT_USER\Software\Microsoft\Command Processor

  2. In the right-pane, double-click Autorun and put in CD /d <user_PATH>

  3. If Autorun is missing, you need to create one (of type "string") in the above location
    NOTE: In the user path, use backslash (\) as the path separator; eg: C:\Users\[Username]

  4. Open an instance of command prompt. The default start path should have changed back to <user_PATH>

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .