The Run Tool has the capability to delete folders in a directory. You can use this step to remove folders once they have been processed by the project.
To delete a folder in your Run Tool Project click onto the
Add Step button and select
Folder Delete from the list.
Enter in a name for the step and click OK.
This will then open the configuration window. Enter in the required parameters and click OK to add the step.
|Path||The path to the folder being deleted.|
You must use local or UNC paths when configuring the step. Mapped drives will cause the step to error.
The step will then be added to the bottom of your project, move this to where you need it to be, set the run condition and save the project.