Navigation:  Actions > Files >

Delete Folder Action

Previous pageReturn to chapter overviewNext page

The Delete Folder action can be used to delete a folder or network path and all files within it.  This action uses the cmd.exe RMDIR command to delete a directory.

 

Folder to delete: The drive+path or network path to delete (required).

 

Delete subfolders: If checked, all subfolders and files are recursively deleted as well.  If unchecked and the folder contains subfolders, the action will fail and the folder will not be deleted.

 

Log command-line: Logs the command-line used to delete the folder.

 

Notes:

Be very careful when using this action, as many files and folders can be quickly and permanently deleted.
See the Recurse sample for an example of the Delete Folder action.