/
Reg_ExistVariable
Reg_ExistVariable
Description
Checks if specified variable exists
Syntax
Reg_ExistVariable(sHandle, sKey, sVariable, bMustExist) as Boolean
Parameters
sHandle (String)
HKEY-Handle
sKey (String)
Subkey path
sVariable
Variable to test existence of
bMustExist (Boolean)
TRUE if the key must exist
Return value
Result will be stored in gbValue
Example
VBScript
If bStatus Then bStatus = Reg_ExistVariable("HKLM", "Software\KeyName", "ValueName", False) If bStatus Then bStatus = Job_Writelog("Custom", "gbValue: " & gbValue, bStatus, True)
Related functions
, multiple selections available,
Related content
Reg_GetString
Reg_GetString
Read with this
Reg_ExistVariable
Reg_ExistVariable
More like this
Reg_SetString
Reg_SetString
Read with this
Reg_ExistVariable
Reg_ExistVariable
More like this
Registry Functions
Registry Functions
Read with this
Reg_ExistVariable
Reg_ExistVariable
More like this