User Guide

142 Chapter 2: ColdFusion Tags
Example
Windows Example:
<!--- Source Document is read-only but when renamed it becomes normal (not
hidden or read-only). --->
<cffile action = "rename" source = "c:\files\memo\readonlymemo.doc"
destination = "c:\files\memo\normalmemo.doc" attributes="normal">
Unix Example:
<cffile action = "rename" source = "#myWR#/memo/sample.txt" destination =
"#myWR#/memo/other_sample.txt" mode="666">