Delete a Folder
Delete an existing folder.
-
Enter the full path of the folder to delete.
-
Instruct the wizard how to handle any errors encountered. Read more about error handling.
Check "Verify path before deleting" to make sure folder delete isn't executed in case one of the variables in the path is empty.
Using the "Delete file", "Delete files", and "Delete folder" commands by at end of a running wizard.
When using the "delete file(s)/folder" commands at the end of a running wizard, the Windows OS might prevent the delete-action due to the files being in-use/open.
To delete the file/folder after the wizard ends, you have two (2) options:
Option 1: Manually delete the desired file/folder.
Option 2: End the wizard and start a new wizard with the "delete" command:
-
End the wizard to let it automatically close all the open and in-use processes/files/folders.
-
Create a new continuing wizard
-
Add the relevant "Delete" command at the beginning of the continuing wizard and configure it to delete the desired file(s)/folder.
-
End the wizard or use it to execute additional steps.
Make sure you really want to delete it!
The delete a folder command doesn't put the deleted folder into the Recycle Bin... it deletes it permanently.
Also note that the contents of the folder will be deleted along with the folder itself. If you want to be sure that a folder doesn't contain any files before you delete it, use the Is Folder Empty command.