Nucleus handler tools › Docs › .NET (System.*) › IO.File.SetAttributes

System.IO.File.SetAttributes

Open in the workbench (search, and try it in a handler)

System.IO.File.SetAttributes(
  path: string,
  fileAttributes: number
): void

Sets the file's attributes, e.g. System.IO.FileAttributes.Normal to clear read-only.

Category: Files and folders (System.IO)

Handler API docs

Is this right? Tell us what's wrong
Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop