| Action: |
Deletes
a subkey from the registry, including all the subkeys contained in the
specified subkey.
|
| Syntax: |
DELTREE
("subkey")
|
| Parameters: |
Subkey
Specifies
the subkey to be deleted from the registry.
|
| Remarks: |
When
this function runs, no confirmation is asked nor warning given.
|
| Returns: |
| 0
|
Subkey
deleted
|
| Error
code
|
Function
failed
|
|
| See
Also: |
AddKey(
), DelKey( ),
ReadType( ), ReadValue(
), WriteValue( )
|
| Example: |
$ReturnCode
= DelTree("HKEY_CURRENT_USER\EZReg")
If $ReturnCode = 0
?
"Key deleted...."
Endif
|