178
CFML Language Reference
VALUE
Optional. The value data to be set. If you omit this attribute, CFREGISTRY creates
default value data, as follows:
•
String — Default value is an empty string: ""
•
DWord — Default value is 0 (zero)
Usage
CFREGISTRY creates the key or value if it does not exist.
Example
<!--- This example uses CFREGISTRY with
the Set Action to modify
registry value data --->
<HTML>
<HEAD>
<TITLE>CFREGISTRY ACTION="Set"</TITLE>
</HEAD>
<BODY>
<!--- Normally you pass in a file name
instead of setting one here. --->
<CFSET FileName="dummy.cfm">
<CFREGISTRY ACTION="Set"
BRANCH="HKEY_LOCAL_MACHINE\Software\cflangref"
ENTRY="LastCFM01" TYPE="String" VALUE="#FileName#">
<H1>CFREGISTRY ACTION="Set"</H1>
</BODY>
</HTML>
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:
•
For key deletion — The name of the registry key to be deleted. To delete a key,
do not specify ENTRY.
•
For value deletion — The name of the registry branch containing the value to be
deleted. To delete a value, you must specify ENTRY.
ENTRY
Required for value deletion. The value to be deleted.
Summary of Contents for COLDFUSION 4.5-CFML LANGUAGE
Page 1: ...Allaire Corporation CFML Language Reference ColdFusion 4 5...
Page 207: ...Chapter 1 ColdFusion Tags 183 CFCATCH CFTRY BODY HTML...
Page 224: ...200 CFMLLanguageReference CFOUTPUT P Text within CFOUTPUT is always shown CFOUTPUT BODY HTML...
Page 336: ...312 CFMLLanguageReference CFIF BODY HTML...
Page 404: ...380 CFMLLanguageReference DE It is morning CFOUTPUT P BODY HTML...
Page 413: ...Chapter 2 ColdFusion Functions 389 Customer BalanceDue BR CFOUTPUT CFIF BODY HTML...
Page 483: ...Chapter 2 ColdFusion Functions 459 CFOUTPUT CFLOOP BODY HTML...
Page 584: ...560 CFMLLanguageReference...
Page 594: ...570 CFMLLanguageReference...