Windows 10: How can I modify the Path that is used in a cmd session (i.e. Command Prompt)?

Hi Experts,

How can I modify the Path that is used in a Windows 10 cmd session (i.e. Command Prompt)?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

timgreen7077Exchange EngineerCommented:
not sure I understand but if you want the prompt to be at a different directory type the following:

cd "c:\directory path"
LeighWardleAuthor Commented:
Hi Tim,

Sorry if my question was vague.

I want to add another folder to the PATH environment variable.

Currently when I type the path command, the output is:

PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\mpirt;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\ia32\mpirt;C:\Program Files (x86)\Common Files\Intel\Shared
Libraries\redist\ia32\compiler;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Users\Leigh\AppData\Local\Microsoft\WindowsApps;

I want to add C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE to this PATH
Lee W, MVPTechnology and Business Process AdvisorCommented:
To modify it for the CURRENT command prompt only, use

SET PATH=%PATH%;C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE

To Modify it for ALL command prompts going forward, go to the system control panel, Advanced tab, Environment Variables button, and under system variables, edit the PATH variable add a new entry for C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LeighWardleAuthor Commented:
Thanks Tim & Lee.

Lees' suggestion "To Modify it for ALL command prompts going forward" worked for me,
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 10

From novice to tech pro — start learning today.