Page tree
Skip to end of metadata
Go to start of metadata

Description

Deletes specified key in registry. Fails if any sub key exists. Recommended for safe Registry-handling.

 

Syntax

Reg_DeleteKey(sHandle, sKey) as Boolean

 

Parameters

sHandle (String)

HKEY-handle

sKey (String)

Subkey to delete

 

Example

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

Scripting Guidelines

 

Related functions

Registry Functions

  • No labels