How to export and import environment variables in windows?

后端 未结 8 1484
粉色の甜心
粉色の甜心 2020-12-22 15:36

I found it is hard to keep my environment variables sync on different machines. I just want to export the settings from one computer and import to other ones.

I thi

8条回答
  •  温柔的废话
    2020-12-22 16:06

    To export user variables, open a command prompt and use regedit with /e

    Example :

    regedit /e "%userprofile%\Desktop\my_user_env_variables.reg" "HKEY_CURRENT_USER\Environment"
    

提交回复
热议问题