Skip to content

Reg_SetString

Set the value of a registry variable of type string

Reg_SetString(sHandle, sKey, sVariable, sValue) as Boolean

HKEY-handle

Subkey path

Name of variable to contain the value

Value

If bStatus Then bStatus = Reg_SetString("HKLM", "Software\KeyName", "ValueName", "Value")

Scripting Guidelines

Registry Functions Constants Package Property Variables