@RegQueryValue (Formula Language)
Queries the Windows™ registry for a specified value.
Note: This function is new in Release 5.0.2.
Syntax
@RegQueryValue( keyName ; subKeyName ; valueName )
Parameters
keyName
String. HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE. The registry key you want to query.
subKeyName
String. The name of the subkey under keyName that you want to query.
valueName
String. The name of the registry value you want to find.
Return value
string
The value associated with the value name specified in the valueName parameter.
Usage
@RegQueryValue is intended for use on the Windows™ platform. It returns an empty string on non-Windows platforms.
Examples
This example obtains the current registered Notes® executable directory in Windows™.@RegQueryValue("HKEY_LOCAL_MACHINE"; "Software\\Lotus\\Notes\\5.0"; "Path")