FileSetAttribute
Sets a file access attribute
Method Signature
Arguments
Argument
Type
Required
Description
Default
file
any
true
The file path or File instance
attribute
string
true
The attribute to set true
Examples
Create a temporary file and then change read-only mode
Result: is writable: YES → NO
Additional Examples
Related
Last updated
Was this helpful?