Skip to content

Reg_SetExpandString

Set the value of a registry variable of type multistring

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

HKEY-handle

Subkey path

Name of variable to contain the value

Value

If bStatus Then bStatus = Reg_SetExpandString("HKLM", "Software\KeyName", "ValueName", "%temp%")

Scripting Guidelines

Registry Functions Constants Package Property Variables