CRegistry:Close CRegistry:DeleteValue

CRegistry:DeleteKey


The DeleteKey method deletes a registry key and all its contained subkeys and values.

Syntax

CRegistry:DeleteKey( sKey )

bullet.gif    Deletes the registry key including all its subkeys and values.

Example

The following script opens a registry key named MyKey, works with it, and then deletes the key and all its contents:

R = new_registry("MyKey")

-- open the key named "MyKey".

  ...

-- do something with the registry.

R:DeleteKey("MyKey")

-- delete the "MyKey" key and all its contents.

Related Topics

CRegistry class

DeleteValue

Open


Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024 Mirametrics, Inc. All Rights Reserved.