| Action | 
Checks for the existence of a registry subkey.
| Syntax | 
KEYEXIST ("subkey")
| Parameter | 
Subkey
Identifies the subkey you want to locate.
| Remarks | 
KEYEXIST is a replacement to the EXISTKEY function found in previous versions of KiXtart. While functionally equivalent, the Return Codes are now inverted, resulting in behavior similar to the EXIST function.
| Returns | 
| 0 | Subkey not found | 
| 1 | Subkey found | 
| Example | 
$ReturnCode = KeyExist("HKEY_CURRENT_USER\Console\Configuration")
If $ReturnCode
   ?
"Key exists...."
Endif