Lucee Function Reference

filesetattribute()

For the given path, sets the file attributes.

Beispiel

filesetattribute(any file,string attribute):void

Argumente

Die Argumente für diese Funktion sind fest vorgegeben. Ausser den nachfolgenden Argumenten dürfen keine weiteren verwendet werden.
Name Typ Required Beschreibung
file 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.