/
Reg_SetString
Reg_SetString
Description
Set the value of a registry variable of type string
Syntax
Reg_SetString(sHandle, sKey, sVariable, sValue) as Boolean
Parameters
sHandle (String)
HKEY-handle
sKey (String)
Subkey path
sVariable (String)
Name of variable to contain the value
sValue (String)
Value
Example
VBScript
If bStatus Then bStatus = Reg_SetString("HKLM", "Software\KeyName", "ValueName", "Value")
Related functions
Related content
Registry Functions
Registry Functions
Read with this
Reg_SetString
Reg_SetString
More like this
Reg_CreateKey
Reg_CreateKey
Read with this
Reg_SetString
Reg_SetString
More like this
File functions
File functions
Read with this
Reg_SetExpandString
Reg_SetExpandString
More like this