<img src="//trc.taboola.com/1222697/log/3/unip?en=page_view" width="0" height="0" style="display:none">

Resources

The Knowledgebase articles are deprecated. Please visit the new Guides and Resources here: https://www.uipath.com/developers/guides-and-resources.

Knowledge Base

Delete Empty Folders

delete

Task

This sample allows you to select a folder and delete all empty subdirectories.

Steps to automate

  1. 1. Allow the user to select the directory.
  2. 2. Search inside for empty directories. 
  3. 3. Delete empty ones

dialog