Delete File or Folder
- Updated2023-02-17
- 3 minute(s) read
Delete File or Folder
Deletes the file or directory at the specified path.
Inputs/Outputs

prompt
Custom message in the title bar of the file dialog box that appears when you do not wire a value to the input path.

path
The absolute path to the file or folder you want to delete.

entire hierarchy
A Boolean value that determines whether this node deletes all the content in the folder.
| True | This node deletes all files and folders within the specified path. |
| False | This node does not delete all files and folders within the specified path. |
Default value: False

confirm
A Boolean value that determines whether the node displays a dialog box that asks you to confirm the delete operation.
| True | A dialog box asking you to confirm the delete operation appears. |
| False | A dialog box asking you to confirm the delete operation does not appear. |
Default value: False

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

deleted path
The path to the deleted file or folder.
This output returns <Not a Path> if an error occurred.

cancelled?
A Boolean value that indicates whether the user cancelled the dialog box that appears if no input file was wired to this node.
| True | The dialog box was cancelled. |
| False | The dialog box was not cancelled, or the dialog box did not appear. |

error out
Error information.
The node produces this output according to standard error behavior.