Skip to content

Reg\_SetQword

Set the value of a registry variable of type qword

Reg_SetQword(sHandle, sKey, sVariable, iValue) as Boolean

sHandle (String)

HKEY-handle

sKey (String)

Subkey path

sVariable (String)

Name of variable to contain the value

iValue (Integer/Long)

Value of the type Integer or Long

VBScript

If bStatus Then bStatus = Reg_SetQword("HKLM", "Software\KeyName", "ValueName", 5)

Scripting Guidelines

Registry Functions