<cfregistry>

Reads, writes, and deletes keys and values in the system registry. The cfregistry tag is supported on all platforms, including Linux, Solaris, and HP-UX.

Usage

<cfregistry
    [sort=string]
    [variable=string]
    [entry=string]
    [name=string]
    [type=string]
    [value=string]
    action=getAll|get|set|delete
    branch=string
>

This tag cannot have a body.

This tag is also supported within cfscript

Attributes

Attribute Description
sort
(string, optional)

Sorts query column data (case-insensitive). Sorts on Entry, Type, and Value columns as text. Specify a combination of columns from query output, in a comma-delimited list. For example: sort = "value desc, entry asc"

asc: ascending (a to z) sort order desc: descending (z to a) sort order

variable
(string, optional)

Variable into which to put value.

entry
(string, optional)

Registry value to access.

name
(string, optional)

Name of record set to contain returned keys and values.

type
(string, optional)

string: return string values dWord: return DWord values key: return keys any: return keys and values

value
(string, optional)

Value data to set. If you omit this attribute, cfregistry creates default value, as follows:

string: creates an empty string: "" dWord: creates a value of 0 (zero)

action
(string, required)

action to the registry

branch
(string, required)

Name of a registry branch.

Examples

There are currently no examples for this tag.

See also