Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

so that I can execute apps (in cmd prompt) without specifying the fully qualified folder structure.

share|improve this question
up vote 6 down vote accepted

As an admin,

  • Go to Control Panel | System and click on Advanced System Settings in the left pane OR
  • Right-click on Computer and choose Properties

  • Click the Environment Variables button

  • Under System Variables, edit the PATH variable and add your folder to the value (seperate with a semi-colon)
share|improve this answer
do I need to restart for it to take affect? – Jon Erickson May 21 '09 at 16:46
No, you shouldn't. It is possible, however, that you'll need to restart certain services for them to pick up the change. This isn't typically a big deal in a workstation OS, though, unless you're using it as a server. You'll also need to close and reopen and cmd prompts that you have open at the time of the change. – squillman May 21 '09 at 17:01
thanks! [15 chars] – Jon Erickson May 21 '09 at 18:18

You can also modify them via the registry. I find this useful when scripting some legacy programs that require certain environmental variables to function.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.