Page tree
Skip to end of metadata
Go to start of metadata

Description

Adds value to an expandable string variable


Syntax

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


Parameters

sHandle (String)

HKEY-handle

sKey (String)

Subkey path

sVariable (String)

Name of variable to contain the value

sValue (String)

Value

sSeperator (String)

Seperator between substrings


Example

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

Scripting Guidelines


Related functions

Registry Functions

  • No labels