I know how to delete files from main folder. But I’m having trouble deleting folders in another folder.
For example: “C:\Users\Paulina\Desktop\Main folder\folder_1\excel_1”
Wants to delete everything from the main folder. There are several folders in the main folder with excel files in it.
Hi @Paulina ,
First delete the files, then try to delete the folders.
I found a solution. This method will delete folders (there may be files in them) that are in the main folder. It will not delete files that are in the main folder. So the title can be confusing but this solution is enough for me.
Main.xaml (6.4 KB)
If you want to delete files and folders in a directory then check this xaml file
Delete Files and Folder in a Directory.xaml (6.4 KB)
I have made some changes in you workflow. Do check it.
Great. This enriched my knowledge of UiPath. Thank you very much
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.