Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Possible Duplicate:
Adding an .exe to default path without adding the directory
What are PATH and other environment variables, and how can I set or use them?

Hi I would like to use windows command-line to run tools like SVN and MYSQL without going to theirs respective path.

How can I just type "mysql -u root" or "svn up" straigthway in the command prompt?

Can you help me?

share|improve this question

marked as duplicate by Daniel Beck, Bob, Scott Chamberlain, Mokubai, Nifle Apr 28 '12 at 14:20

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

up vote 3 down vote accepted

For the global variable PATH, you will need to add new directory entries for each folder which contains items (such as mysql and svn) you want to have available globally. Make sure you separate each folder (absolute path to the FOLDER not the FILE) with semicolons ";". Once you do this is may be reflected immediately, but it also may require a reboot.

share|improve this answer
it would need you to log off and on, as opposed to reboot – Journeyman Geek Apr 27 '12 at 15:32

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