How to export and import environment variables in windows(e.g. XP)?
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 think it should be possible, but don't know how to do it. Can anyone help me? Thanks.
You can use RegEdit to export the following two keys:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment HKEY_CURRENT_USER\Environment
The first set are system/global environment variables; the second set are user-level variables. Edit as needed and then import the .reg files on the new machine.
本文指导如何在Windows XP等系统中通过注册表编辑器导出和导入环境变量,便于在不同计算机间同步设置。
1139

被折叠的 条评论
为什么被折叠?



