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

KiXtart Command Reference

EXISTKEY

action

Checks for the existence of a registry subkey.

syntax

EXISTKEY ("subkey")

parameter

Subkey

Identifies the subkey you want to locate.

remarks

The values returned by EXISTKEY have the opposite meaning of the values returned by EXIST.

returns

0

Subkey found

Error code

Subkey not found

example

$ReturnCode = ExistKey("HKEY_CURRENT_USER\Console\Configuration")

If $ReturnCode = 0

   ? "Key exists...."

Endif