Deletes a folder and all of its contents, including subfolders and their contents.
Path to the folder that you want to delete.
Boolean that determines whether to continue deleting files and folders in the specified directory after an error occurs while trying to delete a file or folder.
True | Continue deleting files and folders in the specified directory after an error occurs. |
False | Stop deleting files and folders after an error occurs. |
Use Caution when Wiring True
If you wire a True to keep deleting on error, this node deletes as many files as it can, regardless of any errors it encounters along the way.
Encountering Errors When Deleting
Unless keep deleting on error is True, this node will stop in the middle of the deletion process if it encounters an error while trying to delete a file or folder.
Regardless of the value of this input, the error out message will always give the path of the first file that could not be deleted.
Default: False
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Where This Node Can Run:
Desktop OS: Windows
FPGA: This product does not support FPGA devices
Web Server: Not supported in VIs that run in a web application