use winreg for get/set env