Syntax
$cs.Reg_GetExpandString(string registryroot, string regkey, string regvalue)
Parameters
registryroot
Root key (HKLM or HKEY_LOCAL_MACHINE, HKCU, HKU)
regkey
Registry keypath
regvalue
Registry value to retrieve
Example
$filepath=$cs.Reg_GetString("HKU",".DEFAULT\Environment","Path")