How to Create an Environment Variable in Windows 10

Download ArticleDownload Article

This How.com.vn teaches how to add new environment variables in Windows 10. Environment variables are useful to specify paths internally in the OS for specific programs. It is basically stored in the form of a name and value pair. OS has a lot of builtin environment variables like 'PATH' where paths to installed Softwares are stored. Stick to this article, to find out how to add environment variables in Windows 10.

  1. Step 1 Locate the "This PC" icon on your system.
    You may find it on your desktop screen. You can go to your desktop by pressing Ctrl+D.
  2. 2
    Right-click on the "This PC" icon. This will show a small popup, with few options.
    Advertisement
  3. Step 3 Click on the "Properties" option.
    You may find this in the last position below the "Rename" option. This will open a new window with all the system details like RAM, Processor, OS, etc.
  4. Step 4 Click or double click on "Advanced System Settings".
    You may find this option on the left-hand side of the newly opened window (System Details). This option is below the "System Protection" option.
  5. How.com.vn English: 4_click_environment_variables.png
    5
    Click on Environment Variables. After clicking, it will show a new window dialog called "Environment Variables".
  6. How.com.vn English: 5_decide_variables.png
    6
    Decide which variable to add (User / System). Click the New option in any (User/System) section.
  7. How.com.vn English: 6_add_variables.png
    7
    Add the variable name and variable value and click OK. In variable_name, you can give a name to your user variable and specify PATH in the variable_value, finally, click "ok" to save the changes.
  8. How.com.vn English: Step 8 View the environment variables.
    After saving a new variable with path, you can see the entry of variables.
  9. How.com.vn English: Step 9 Click OK.
    After clicking OK, you will have successfully created a new User variable with a PATH attached to it.
  10. Advertisement

Expert Q&A

Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      About This Article

      How.com.vn is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, volunteer authors worked to edit and improve it over time. This article has been viewed 21,948 times.
      How helpful is this?
      Co-authors: 6
      Updated: June 29, 2020
      Views: 21,948
      Categories: Windows 10
      Thanks to all authors for creating a page that has been read 21,948 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement