REG SETVALUE()
From Lianjapedia
Revision as of 11:36, 7 May 2020 by Yvonne.milne (Talk | contribs)
Contents
Purpose
Function to set the value data of a Windows Registry value
Syntax
REG_SETVALUE(<cRegRoot>, <cRegValue>, <cRegValueData> [, <cRegValueType>])
See Also
ADDBS(), GETENV(), PUTENV(), REG_GETVALUE()
Description
The REG_SETVALUE() function sets the value data of the Windows registry value <cRegValue> in the Registry root <cRegRoot> to <cRegValueData>. The value type can be optionally specified in <cRegValueType>. The default is 'string'.
The value data of the Windows Registry value is returned.
Example
reg_setvalue("HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Lianja\Lianja Server\Netserver","DB_AUTHENTICATION_REQUIRED","true","string")