Skip to content

Reg\_SetExpandStringX64

Set the value of a registry variable of type multistring in 64 bit registry from a 32 bit context

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

sHandle (String)

HKEY-handle

sKey (String)

Subkey path

sVariable (String)

Name of variable to contain the value

sValue (String)

Value

VBScript

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

Scripting Guidelines

Registry Functions