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