![How to Delete all files in a directory and also from Subfolders except one specific Subfolder and also keep the folder structure intact - Forum - UiPath Community Forum How to Delete all files in a directory and also from Subfolders except one specific Subfolder and also keep the folder structure intact - Forum - UiPath Community Forum](https://global.discourse-cdn.com/uipath/optimized/4X/e/3/1/e3182855c78d6247902e060028aa900b1fc2fe2a_2_1023x455.jpeg)
How to Delete all files in a directory and also from Subfolders except one specific Subfolder and also keep the folder structure intact - Forum - UiPath Community Forum
![How to Delete all files in a directory and also from Subfolders except one specific Subfolder and also keep the folder structure intact - Forum - UiPath Community Forum How to Delete all files in a directory and also from Subfolders except one specific Subfolder and also keep the folder structure intact - Forum - UiPath Community Forum](https://global.discourse-cdn.com/uipath/optimized/4X/e/3/1/e3182855c78d6247902e060028aa900b1fc2fe2a_2_690x306.jpeg)
How to Delete all files in a directory and also from Subfolders except one specific Subfolder and also keep the folder structure intact - Forum - UiPath Community Forum
![c# - "Directory is not empty" error when trying to programmatically delete a folder - Stack Overflow c# - "Directory is not empty" error when trying to programmatically delete a folder - Stack Overflow](https://i.stack.imgur.com/h762c.png)
c# - "Directory is not empty" error when trying to programmatically delete a folder - Stack Overflow
![Programming in Visual Basic.NET: Delete Files from selected folder depend on extension in VB.net - YouTube Programming in Visual Basic.NET: Delete Files from selected folder depend on extension in VB.net - YouTube](https://i.ytimg.com/vi/j9As51Qfd_k/hqdefault.jpg)
Programming in Visual Basic.NET: Delete Files from selected folder depend on extension in VB.net - YouTube
![How to Delete all files in a directory and also from Subfolders except one specific Subfolder and also keep the folder structure intact - Forum - UiPath Community Forum How to Delete all files in a directory and also from Subfolders except one specific Subfolder and also keep the folder structure intact - Forum - UiPath Community Forum](https://global.discourse-cdn.com/uipath/original/4X/1/4/7/147c5a407c8f80656cc82832423e0ed5aa073e9a.jpeg)