DelKey( )
| Action: | Deletes
the specified subkey from the registry. |
||||
| Syntax: | DELKEY
("subkey") |
||||
| Parameters: |
Subkey
|
||||
| Remarks: |
This
call fails if any subkeys exist within the specified subkey. Use DelTree if you want to delete a subkey that contains subkeys. |
||||
| Returns: |
|
||||
| See Also: |
AddKey(
), DelTree( ),
ReadType( ), ReadValue(
), WriteValue( ) |
||||
| Example: |
$ReturnCode = DelKey("HKEY_CURRENT_USER\EZReg")
If $ReturnCode = 0
? "Key deleted...."
Endif
|