Deleting a directory with the FileDelete Action
Here is how to set the properties for deleting the directory "d:/temp/deleteme" and all its content, including subdirectories:
-
DEL_DIR: the parent directory (for example "d:/temp/deleteme")
-
DEL_INCLUDES: a double wildcard "**" which indicates to recursively delete everything inside DEL_DIR
-
DEL_INCLUDES_EMPTY_DIRS: check this box, so that the Runtime deletes the directory once its content is deleted.
Of course, make sure you set the properties correctly, because the Delete action cannot be undone!
In order not to delete the "d:/temp/deleteme" once its content is deleted, you can use the following mask "*/" in DEL_DIR option.
It allows to delete everything inside the directory (including empty subdirectories) without deleting the main directory.