CFREGISTRY ACTION="Delete"

Use CFREGISTRY with the Delete action to delete a registry key or value.

Syntax

<CFREGISTRY ACTION="Delete"
    BRANCH="branch"
    ENTRY="keyorvalue">

BRANCH

Required. Specifies one of the following:

ENTRY

Required for value deletion. The value to be deleted.

Usage

If you delete a key, CFREGISTRY also deletes values and subkeys defined beneath the key.

Example

<!--- This example uses CFREGISTRY with the Delete Action to remove
      a key from the registry  --->
<HTML>
<HEAD>
<TITLE>CFREGISTRY ACTION="Delete"</TITLE>
</HEAD>
<BODY>
<CFREGISTRY ACTION="Delete"
  BRANCH="HKEY_LOCAL_MACHINE\Software\cflangref\tempkey"
  ENTRY="LastCFM01">
<H1>CFREGISTRY ACTION="Delete"</H1>
</BODY>
</HTML>