How to set Environment variables from Windows

拥有回忆 提交于 2019-12-20 05:36:31

问题


What is the way to add environment variables in windows xp, 7, 8 , vista, 10 etc


回答1:


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"




回答2:


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.


来源:https://stackoverflow.com/questions/32463212/how-to-set-environment-variables-from-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!