windows registry => control pannel

User Variables

HKEY_CURRENT_USEREnvironment

System Variables

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerEnvironment
原文地址:https://www.cnblogs.com/shenfengok/p/6194042.html