Skip to content

Reg\_CreateKey

Creates specified sub key in Registry.

Reg_CreateKey(sHandle, sKey) as Boolean

sHandle (String)

HKEY-handle

sKey (String)

Subkey to create

VBScript

If bStatus Then bStatus = Reg_CreateKey("HKLM", "Software\KeyName")

Scripting Guidelines

Registry Functions