环境变量在哪里存储在注册表中? [英] Where are environment variables stored in registry?
本文介绍了环境变量在哪里存储在注册表中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
存储在注册表中的环境变量在哪里?
解决方案
它们通过Server 2012 R2存储在XP中:
用户变量
HKEY_CURRENT_USER\Environment
系统变量
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
这是一篇关于其他链接的好文章:
vlaurie.com/computers2/Articles/environment.htm
I need to access an environment variable remotely. To do this I think the best way is to read it from registry.
Where are environment variables stored in registry?
解决方案
Here's where they're stored on XP through Server 2012 R2:
User Variables
HKEY_CURRENT_USER\Environment
System Variables
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
Here's a good article on this with other links:
vlaurie.com/computers2/Articles/environment.htm
这篇关于环境变量在哪里存储在注册表中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文