How to view environment variables of Win11 operating system

WBOY
Release: 2024-01-29 23:18:16
forward
1046 people have browsed it

How to view environment variables of Win11 operating system

php editor Zimo will introduce to you how to view environment variables in Win11 system. An environment variable is a key-value pair stored in the operating system and used to store system configuration and runtime information. In Win11 system, we can view environment variables through some simple steps. First, we need to open the Control Panel, which can be found and opened by typing "Control Panel" in the taskbar search box. In the control panel interface, we need to find and click the "System and Security" option. Next, in the system and security interface, we need to click the "System" option. In the system interface, we can see some system-related information, including computer name, operating system version, etc. In this interface, we need to click the "Advanced System Settings" button. In the system properties dialog box that pops up, we need to click the "Environment Variables" button. In the Environment Variables dialog box, we can see a list of system and user environment variables, and can add, edit, and delete environment variables. With these simple steps, we can easily view the environment variables in Win11 system.

Environment variables are a configuration parameter in the operating system. They store some system and user information, such as system paths, temporary folder locations, etc. In the Win11 system, viewing environment variables can help us understand the configuration of the system and make some adjustments and optimizations to the system. The following will introduce how to view environment variables in Win11 system.

Method 1: Use the system properties window to view environment variables

1. First, right-click the "This PC" icon on the desktop and select "Properties".

2. In the pop-up window, click "Advanced System Settings" on the left.

3. In the "System Properties" window, click the "Environment Variables" button below.

4. In the "Environment Variables" window, you can see the system's environment variables and the user's environment variables.

Method 2: Use the command line to view environment variables

1. Open the command prompt. It can be opened by pressing the Win R key, typing "cmd" and pressing Enter, or by searching for "Command Prompt" in the Start menu.

2. In the command prompt, enter the "set" command and press the Enter key.

3. The command line will list the system's environment variables and the user's environment variables.

Method 3: Use the Registry Editor to view environment variables

1. Press the Win R key, enter "regedit" and press the Enter key to open the Registry Editor.

2. In the registry editor, expand "HKEY_LOCAL_MACHINE" -> "SYSTEM" -> "CurrentControlSet" -> "Control" -> "Session Manager" -> "Environment" ".

3. In the right window, you can see the system environment variables.

Through the above three methods, we can easily view the environment variables in the Win11 system. After understanding the system's environment variables, we can make some adjustments and optimizations as needed to improve system performance and stability. However, it should be noted that caution should be exercised when modifying environment variables to avoid unnecessary impact on the system.

The above is the detailed content of How to view environment variables of Win11 operating system. For more information, please follow other related articles on the PHP Chinese website!

source:jikegou.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!