$cs.Reg_GetString
Syntax
$cs.Reg_GetString(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 (empty string for default value)
Â
Example
$filepath=$cs.Reg_GetString("HKLM","SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\7zFM.exe","")
returns value as string
Â