DriveWorks Pro 16: Delete Folder [send feedback...]

Delete Folder

The Delete Folder task will delete the foler specified in the Path property.


Property NameDescription
PathThe path to the folder to delete.
RecursiveTRUE to delete recursively, FALSE to only delete the directory if it is empty.
TitleChanges the Title (not the name) of the task.


When this task is added the properties are static by default.
See How To: Change A Static Property To A Dynamic Property to enable rules to be built on these properties.

Property NameExample ruleExample resultMeaning
Path"C:\MyFiles\My SOLIDWORKS Models"C:\MyFiles\My SOLIDWORKS ModelsThis will delete the entire folder called "My SOLIDWORKS Models"
RecursiveTRUETRUEWith recursive set to TRUE the task will go through and delete all of the sub folders and files within the specified folder. With it set to FALSE it will only delete the folder if it is empty.

Table of Contents