How to delete all the files from a folder and make it empty

how to delete all the files from a folder and make it empty?

I have a folder path and I have to delete the contents of that folder and make it empty!

Please help!

@kararora,Refer this

But i am getting the exception -
"Delete: Illegal characters in path. "

Hey

Here is a detailed article on that :slight_smile:

3 Likes

You can try “Delete” Activity to delete and use the same path given to delete actvity in “Create directory” activity to create a blank folder. :wink:

2 Likes