Remove directory Structure

Hi All

what’s the best way to delete directories via a workflow?

I am writing a series of routines where I need to remove all working / source files from the server after processing, i’m doing a simple folder capture (including sub-directories) straight to a delete, this seems to work fine but leaves the empty folders - how do I delete these as well?

thanks, Richard

Hi Richard,

One easy way is to write a script or batch file to delete the folder and call it from your workflow.

This post may be usefull.

Thanks, Tosuji - ill take a look at the examples - it looks like it could work for me … best regards, Richard