Syntax
$cs.Reg_GetExpandString(string registryroot, string regkey, string regvalue)
Parameters
registryroot
Root key (HKLM or HKEY_LOCAL_MACHINE, HKCU, HKU)
...
Registry value to retrieve (empty string for default value)
Example
Code Block |
---|
$filepath=$cs.Reg_GetStringGetExpandString("HKU",".DEFAULT\Environment","Path") |
returns value as string