Reg_DeleteTree

Description

Deletes specified key in Registry – including all subkeys.

 

Syntax

Reg_DeleteTree(sHandle, sKey) as Boolean

 

Parameters

sHandle (String)

HKEY-handle

sKey (String)

Subkey to delete

 

Example

VBScript
If bStatus Then bStatus = Reg_DeleteTree("HKLM", "Software\KeyName")

Scripting Guidelines

 

Related functions

Registry Functions