How do I set Windows Environment variables permanently?

南楼画角 提交于 2019-11-28 12:19:07

Right click on Computer, Advanced system settings, select Advanced tab and click Environment variables.

Note: once you modify the environment variables, you will have to restart your applications, including CLI.

This can also be achieved from command prompt. The following example set a variable at user level:

SETX variable_name value

For machine level elevation is required:

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