CFREGISTRY ACTION = "DELETE"  
Description

Deletes a registry key or value.

 
Syntax
<cfregistry 
   action = "delete"
   branch = "branch"
   entry = "keyorvalue">
 
See also

Chapter 15, "Using Persistent Data and Locking," in ColdFusion MX Developer's Guide

 
Usage

If you delete a key, the cfregistry tag 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>
ACTION  
  Required
 

Always delete.

BRANCH  
  Required
 
  • For key deletion: name of registry key to delete. Do not specify the entry attribute.
  • For value deletion: name of registry branch that contains value to delete. You must specify the entry attribute.
ENTRY  
  Required for value deletion
 

Value to delete.