How do you delete files from a specific folder

Hi, how to delete the files from specific folder, can you please help me with this.

Hi @Bhaskar

You can use the activity “Delete file” for the file in a specific folder. Check out this resource from our help center for more explanation and elaboration:

image
image

1 Like

If folder does not exist in local machine, is it possible to create dynamically or folder present need to skip.

1 Like

Hi @Bhaskar!
If the folder does not exist for the directory path you defined in the action (such as “Create file”), the folder will be created. Also you can use “Create directory” activity.This activity creates a folder by the specified path and name.
In order to create the folder dynamically, you can specify the directory path in “Calculation a value:” mode by using variables with a “Do-while loop”.

1 Like