Share via

What are environment variables in Windows and what does they do?

Anonymous
2022-02-19T04:26:36+00:00

What are environment variables in Windows and what does they do? And why do we have to add an environment variable when we install any programming language in the PC?

Windows for home | Windows 10 | Settings

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

8 answers

Sort by: Most helpful
  1. Anonymous
    2022-02-19T05:01:27+00:00

    Hello Sachin007,

    I am Jaspreet Singh.

    Environment variables in simple terms define where a certain category of programs will store files (temp and permanent) where it will install files (install directory) and other crucial details.

    So when you install any programming language for example python it will create an environment variable which will tell py files where they can install and where they will load/store the files.

    4 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2022-02-21T16:17:45+00:00

    In what aspect are you asking this information for? If you are looking at this from programming perspective I am afraid it is out of the scope of this community and you will get better answer at programming oriented community here : https://docs.microsoft.com/en-US/answers/index....

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2022-02-19T09:23:53+00:00

    User variables are for that particular user which is setting them up while system variable will be for all installed users.

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2022-02-19T05:38:31+00:00

    Yes and telling it where to access files the programs using that environment variable requires such as user data etc.

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2022-02-19T05:34:26+00:00

    So basically, we give an address to Python to send all the files, right?

    0 comments No comments