In Computing, What Is an Operating Environment?
Environment variables generally refer to some parameters used in the operating system to specify the operating environment of the operating system, such as the location of the temporary folder and the location of the system folder.
- In windows
- Method for editing environment variables in the command line
- View all currently available environment variables (= system variables + user variables)
- set
- View an environment variable, such as PATH
- set PATH
- Add environment variables, such as xxx = aa
- set xxx = aa
- Set the value of an environment variable (such as xxx) to null
- set xxx =
- Add a new value (such as d: \ xxx) after an environment variable (such as PATH)
- set PATH =% PATH%; d: \ xxx
- (Note: the command line operation of environment variables in the dos window is only valid for the current window application)