GetRegistryValue |
Top Previous Next |
The GetRegistryValue Special Function Command allows you to interrogate the system registry and retrieve the specified key value formatted as a string.
Command Syntax
GetRegistryValue,[RegistryKey],[RegistryValueName]
The comma character after the command is compulsory as are both parameters and the comma separating them.
Parameters:
RegistryKey: The full registry key you wish to interrogate for the value RegistryValueName: The name of the value stored under the specified registry key that you wish to retrieve
Both parameters are compulsory. If any required parameter is missing or invalid an error will be thrown.
Example:
Var:RegValue=GetRegistryValue,HKEY_CURRENT_USER\SOFTWARE\Microsoft\Personalization\Settings,AcceptedPrivacyPolicy
See Also: Special Functions GetFileVersion |