Skip to main content

Delete File

The Run Tool has the capability to delete files in a directory. You can use this step to remove files once they have been processed in the project.

Add Step

To delete a file in your Run Tool Project click onto the Add Step button and select File Delete from the list. Enter in a name for the step and click OK.

Delete File Step

Configuration

This will then open the configuration window. Enter in the required parameters and click OK to add the step.

Configuration Window

SettingDescription
FilenameThe path to the file being deleted. Wildcards are supported
info

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.