Skip to content

Reg_UpdateExpandString

Adds value to an expandable string variable

Reg_UpdateExpandString(sHandle, sKey, sVariable, sValue, sSeperator) as Boolean

HKEY-handle

Subkey path

Name of variable to contain the value

Value

Seperator between substrings

If bStatus Then bStatus = Reg_UpdateExpandString("HKLM", "Software\KeyName", "ValueName", "%dev%|%Test%", "|")

Scripting Guidelines

Registry Functions Constants Package Property Variables