cfregistry action = "delete"

Description

Deletes a registry key or value.

Syntax

<cfregistry 
  action = "delete"
  branch = "branch"
  entry = "keyorvalue"> 

Attributes

Attribute Req/Opt Default Description
action
Required
 
delete
branch
Required
 
  • For key deletion: name of registry key to delete. Do not specify the entry.
  • For value deletion: name of registry branch that contains value to delete. You must specify entry.
entry
Required for value deletion
 
Value to delete

Usage

If you delete a key, cfregistry also deletes values and subkeys defined beneath it.

Example

<cfregistry action = "delete"
 branch = "HKEY_LOCAL_MACHINE\Software\cflangref\tempkey"
 entry = "LastCFM01">
<h1>cfregistry action = "delete"</h1>

Comments