Click here to return to the KiXtart HelpDesk main page...

KiXtart Command Reference

ADDKEY

action

Adds the specified subkey to the registry.

syntax

ADDKEY ("subkey")
Parameter

Subkey

A string that specifies the name of the subkey you want to add to the registry.

returns

0

Subkey added

Error code

Function failed

Example

$ReturnCode = AddKey("HKEY_CURRENT_USER\EZReg")
If $ReturnCode = 0
   ? "Key added...."
Endif