fileSetAttribute

Sets the attributes of an on-disk file in Windows. This function does not work with in-memory files.

fileSetAttribute(filePath, attribute) → returns void

fileSetAttribute Argument Reference

filePath
Required

No Help Available

attribute
Required

No Help Available

Examples sample code invoking the fileSetAttribute function


Script Syntax

<cfscript> 
 fileSetAttribute("c:	emp	est1.txt", "readOnly"); 
 </cfscript>  

Fork me on GitHub