Reg\_DeleteKey
Description
Section titled “Description”Deletes specified key in registry. Fails if any sub key exists. Recommended for safe Registry-handling.
Syntax
Section titled “Syntax”Reg_DeleteKey(sHandle, sKey) as Boolean
Parameters
Section titled “Parameters”sHandle (String)
HKEY-handle
sKey (String)
Subkey to delete
Example
Section titled “Example”VBScript
If bStatus Then bStatus = Reg_DeleteKey("HKLM", "Software\KeyName")Related functions
Section titled “Related functions”