简体   繁体   中英

How to set Environment variables from Windows

在Windows XP,7、8,Vista,10等中添加环境变量的方法是什么

In Windows 7, 8, Vista or XP.

Find "My Computer" icon either on the desktop or in the start menu, right click on it, and select Properties item from the menu. When you see the properties dialog box, click on the Environment Variables button then add it.

In Windows 10 or higher, open cmd from start menu.

Then execute this command " systemPropertiesAdvanced "

To view or change environment variables:

Right-click My Computer, and then click Properties.
Click the Advanced tab.
Click Environment variables.
Click one the following options, for either a user or a system variable:
    Click New to add a new variable name and value.
    Click an existing variable, and then click Edit to change its name or value.
    Click an existing variable, and then click Delete to remove it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM