Reg_SetExpandString

Description

Set the value of a registry variable of type multistring


Syntax

Reg_SetExpandString(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_SetExpandString("HKLM", "Software\KeyName", "ValueName", "%temp%")

Scripting Guidelines


Related functions

Registry Functions