Nucleus handler tools › Docs › .NET (System.*) › IO.Directory.Delete

System.IO.Directory.Delete

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

System.IO.Directory.Delete(path: string): void
System.IO.Directory.Delete(
  path: string,
  recursive: boolean
): void

Deletes a folder. Without recursive (or with false) the folder must be empty.

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