Tags · Functions · Objects
Lucee Function Reference
Choose a function:

Function FILESETATTRIBUTE

For the given path, sets the file attributes.

Example

filesetattribute(any source,string attribute):void

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
source any  Yes file path  
attribute string  Yes One of the following:
  • readOnly
  • hidden
  • normal
    Set the attribute to normal to make a file not read-only and not hidden.