Lucee Tag Reference
Tag <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.
Body
This tag can't have a body.
Example
<cfregistry action="string" branch="string" [entry="string"] [name="string"] [sort="string"] [type="string"] [value="string"] [variable="string"]>
Attributes
The attributes for this tag are fixed. Except for the following attributes no other attributes are allowed.
Name | Type | Required | Description |
---|---|---|---|
action | string | Yes | action to the registry |
branch | string | Yes | Name of a registry branch. |
entry | string | No | Registry value to access. |
name | string | No | Name of record set to contain returned keys and values. |
sort | string | No | 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 |
type | string | No | string: return string values dWord: return DWord values key: return keys any: return keys and values |
value | string | No | 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) |
variable | string | No | Variable into which to put value. |