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.
Содержание COLDFUSION 4.5-CFML LANGUAGE
Страница 1: ...Allaire Corporation CFML Language Reference ColdFusion 4 5...
Страница 207: ...Chapter 1 ColdFusion Tags 183 CFCATCH CFTRY BODY HTML...
Страница 224: ...200 CFMLLanguageReference CFOUTPUT P Text within CFOUTPUT is always shown CFOUTPUT BODY HTML...
Страница 296: ...272 CFMLLanguageReference INPUT TYPE text NAME number2 BR INPUT TYPE submit NAME submit VALUE Add FORM BODY HTML...
Страница 336: ...312 CFMLLanguageReference CFIF BODY HTML...
Страница 404: ...380 CFMLLanguageReference DE It is morning CFOUTPUT P BODY HTML...
Страница 413: ...Chapter 2 ColdFusion Functions 389 Customer BalanceDue BR CFOUTPUT CFIF BODY HTML...
Страница 483: ...Chapter 2 ColdFusion Functions 459 CFOUTPUT CFLOOP BODY HTML...
Страница 557: ...Chapter 2 ColdFusion Functions 533 P CFOUTPUT Value i is employee keysToStruct i CFOUTPUT P CFLOOP CFIF BODY HTML...
Страница 584: ...560 CFMLLanguageReference...
Страница 594: ...570 CFMLLanguageReference...