The Delete Folder task will delete the foler specified in the Path property.
Property Name | Description |
---|---|
Path | The path to the folder to delete. |
Recursive | TRUE to delete recursively, FALSE to only delete the directory if it is empty. |
Title | Changes 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 Name | Example rule | Example result | Meaning |
---|---|---|---|
Path | "C:\MyFiles\My SOLIDWORKS Models" | C:\MyFiles\My SOLIDWORKS Models | This will delete the entire folder called "My SOLIDWORKS Models" |
Recursive | TRUE | TRUE | With 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. |
This task has different types of Outputs. For more information about Outputs see Specification Macros Task Node.
Outputs are only available within Specification Macros. Currently Outputs are not available for Specification Flow.
This task supports Status Outputs. These can be used to perform different actions depending on what the status outcome of the task is. For more information see Status Outputs in the Task Node Outputs section of Specification Macros Task Node.
The status output navigation is as follows:
Success
Success with Warnings
Failed (one of the following occurred)