file attributes/set

Allows you to specify the attributes of the file on the specified path.


Example

Running this code will set the "E:\Example Folder\Test File.pdf" attributes to the following properties:

  • Read-Only: Yes
  • Hidden: No
  • Archive: No
  • System: No
plugin command("OS Automation.dll", "file attributes/set", "E:\\Example Folder\\Test File.pdf", "True", "False", "False", "False")

Was this helpful?