How to delete Empty Folders in Windows 11 [Steps]

Tips to delete Empty Folders in Windows 11:

In this article, we are going to discuss on How to delete Empty Folders in Windows 11. You will be guided with easy steps/methods to do so. Let’s starts the discussion.

‘Find and delete Empty Folders in Windows 11’:

If you see a empty folder in your Windows 11 computer, it is quite simple to delete it just by selecting the folder and press ‘Delete’ key on keyboard. But it can very complex task for you if you trying to find all empty folders in your Windows 11 computer’s hard drives. To do this manually, you will need to navigate each path or location of your computer and open each folder to check if the folder is empty or not.

If you are looking for ways on How to find and delete Empty Folders in Windows 11, then you are in right-place for this. Here, you are provided with easy ways to do so. There are many ways to find and delete empty folders in Windows 11/10 computer including using Windows PowerShell, Command Prompt, and using third-party tools. Let’s go for the steps to do so.

It is safe to delete empty folders in your computer but you need to be mindful of their location of you can’t delete certain files or folders, it is probably best to leave them be, even if they are empty. However, it is important to find and delete empty folders especially if you what to remove Software leftovers and ensure that they don’t interfere with your system’s functions in any way.

How to delete Empty Folders in Windows 11?

Method 1: How to find and delete Empty Folders in Windows 11 using Windows PowerShell?

Step 1: Go to folder in your Windows 11 computer where you wish to clear the empty folders

Step 2: Press ‘SHIFT’ key here and click ‘Open PowerShell Window Here’ option to open the Windows PowerShell tool

Step 3: Type the following command and hit ‘Enter’ key to execute. Replace ‘Pathaddress’ with the path to your current folder.

(gci “pathaddress” -r | ? {$_.PSIsContainer -eq $True}) | ?{$_.GetFileSystemInfos().Count -eq 0} | remove-item

Step 4: Once executed, the all empty folders inside selected folders is deleted.

Method 2: How to delete Empty Folders in Windows 11 using Command Prompt?

Step 1: Type ‘cmd’ in Windows Search Box and press ‘SHIFT + ENTER’ keys on keyboard to open ‘Command Prompt as Administrator’

Step 2: In Command Prompt, navigate to folder that you wish to access by using CD command and then execute the following command.

for /f “delims=” %i in (‘dir /s /b /ad ^| sort /r’) do rd “%i” 2>NUL  

Step 3: Once executed, this command will delete all empty folders and sub-folders from specific path.

Method 3: Use the Robocopy Tool to delete Empty folders

Robocopy Tool is one of the most useful tools in Windows computer that happens to be an excellent file-copy tool. This tool can be used to delete all empty folders present in particular folder including their empty sub-folders.

Step 1: Open ‘Command Prompt as Administrator’ using above method

Step 2: Type the following command and hit ‘Enter’ key to execute. Replace the source path and destination path with the same address of folder where you wish to delete all empty folders.

robocopy “source path” “destination path” /S /move

Step 3: Once executed, this command will delete all empty folders in from folder you selected.

Method 4: How to delete Empty Folders in Windows 11 using third-party tools?

Empty Files and Folder Finder Tool: This tool offers you can find and delete all empty files and folders from your computer. You can try this tool for deleting empty folders on Windows 11 computer.

Step 1: Open your browser and visit ‘https://www.ashisoft.com/find-empty-folders.htm’ page to download Empty Files and Folders Finder Tool and click ‘Download Now‘ button to download the tool

Step 2: Once downloaded, double-click on downloaded software setup and follow on-screen instructions to finish installation.

Step 3: Once installed, open it, click ‘Add path’ button to add folder where you wish to delete empty folders.

Step 4: After you have chosen your preferred folder, click ‘Scan Now’ button at top to scan all empty folders. It will present you with the list and number of all empty folders inside the app window.

Step 5: You can manually check the folder names and click ‘Delete Folders’ to delete them instantly. You can repeat the same step to delete all other empty folders inside Windows folders.

Conclusion

I am sure this post helped you on How to delete Empty Folders in Windows 11 with several easy steps/methods. You can read & follow our instructions to do so. That’s all. For any suggestions or queries, please write on comment box below.