Sunday, 5 February 2017

How to Make Environment Variable in Windows 10

What is an Environment Variable??

 Environment variables are a set of dynamic named values that can affect the way running  processes will behave on a computer. They are part of the environment in which a  process runs.

 Ever wanted to access any program just by typing it's name on command prompt?? Then  this is the guide for you.
 In this guide I'll describe the complete process of setting environment variable, so that you  can use any program directly from control panel by just typing the name of .exe file.


  1. In the ask Cortana tab type Control Panel and select Control Panel to directly access control  panel or you can just press the Start Button and then select Settings which is just above Power button. 
  2. Now select System, and scroll down to find About in the left pane. Select the About tab and then scroll down to find Related Settings under it select the System Info.
  3. In the System Info screen you will see Advanced System Settings on the Left Side. Select Advanced System Settings. Now select the Environment Variables in the lower right.
  4. Now in the System Variables window, Select Path and click Edit. Now select New and Click Browse or manually enter the path where the .exe file you want to use is located.

  5. Click Ok and Save the settings.
  6. Go to control panel and type the name of program you want to start(after adding it's path) you should now be able to access it directly.
It works great if you're a programmer and you need to compile as well as access editors like notepad++ and use g++ etc.

For more details kindly add a comment and I'll improve the post.


Post a Comment