[Working] 5 ways to find and delete empty folders in Windows 10 and 11


Usually if you uninstall the application on Windows 11 or 10, you will be left with empty folders in your installation directory. The presence of these blank folders can be very disturbing as it often confuses users during navigation. In this article, we have listed 5 ways to find and delete such empty folders in your Windows system. You can also learn to improve Windows performance with delete cache files.

Also, read | Top 5 Ways to Clean Up Unwanted Files on Your Windows 11 Computer

Ways to find and delete empty folders in Windows 10/11

Use the Windows PowerShell tool to remove empty folders

Windows PowerShell is a powerful utility tool that allows you to easily remove empty folders present within a specific directory. Follow these steps to achieve the same using this tool.

  • Go to directory in your Windows system where you want to delete empty folders.
  • press Shift key here and click on Open the PowerShell window here the ability to open Windows Powershell in the current directory.

  • Type the following command inside the window:

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

  • Remove “pathaddress” and replace it with the path to your current directory. For example, (gci (“C: Users Abc Documents ” -r |? {$ _. PSIsContainer -eq $ True}) | ? {$ _. GetFileSystemInfos (). Count -eq 0} | remove-item

  • Strike Enter button to execute an order.
  • All empty folders on the specified path will be recursively deleted including empty subfolders.

Delete empty folders using the command line tool

Command Prompt is also another effective tool for listing and removing empty folders present in your Windows directory. Follow these simple steps to do the same.

  • Open up Launch the window simultaneous pressure Windows + R key.
  • Type cmd to open a command prompt window.

  • Inside the command line window, go to the phonebook which you want to access using the cd command.

  • Type the following command in the command prompt window and press Enter key.

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

  • Once executed, this command will delete all empty folders and subfolders from the specified path.

Use the Robocopy tool to delete empty folders

Robocopy is one of the oldest tools present in your Windows system that is great a copy of the file tools. You can use this tool to delete all empty folders in a specific directory, including their empty subfolders. Follow these steps for easy repair.

  • press Windows key and search Command Prompt application to open it.

  • Type the following command inside the command line window:

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

  • Replace the original track and destination route s the same address your directory where you want to delete all empty folders. For example, robocopy “C: Users Abc Documents” “C: Users Abc Documents” / S / move
  • Be sure to avoid using a back slash at the end of the path to the directory.

  • Strike Enter key to execute an order. This will delete all empty folders and subfolders present within the directory.

Take advantage of third-party tools such as Empty Files and Folder Finder

There are many useful and popular third-party tools available online for removing empty files and folders present in your directory. One such tool you can try is known as Search for empty files and folders. Follow these simple steps to download and use this tool to remove empty folders from your system directory.

  • Install the application using the installation wizard and open it.
  • You can also use this application to delete empty files, ie files that do not consume zero memory space.
  • Click on Add path button to add the directory in which you want to delete empty folders.

  • After selecting the desired directory, click on Scan Now button on top to scan all blank maps. It will present you with a list and number of all empty folders within the application window.

  • You can manually check the names of empty folders and click on Delete folders to delete them immediately.

  • You can repeat the same procedure with Empty file section to delete all empty files in the Windows directory.

Bonus tip: Use the DelEmpty tool to recursively delete empty folders

Another most effective tool to help you remove empty folders and subfolders present within the Windows directory is known as Delete tool. This tool provides a GUI interface for quick navigation to the desired directory to delete empty folders. Follow these steps to download and achieve the same with this app.

  • Open a new tab in your web browser and access the Softpedia website to download Delete tool. Click on Download Now button to download this tool to your system.

  • Extract the zip file to your system and double click on the DelEmpty app to run it.

  • If you see a pop-up window from the Microsoft Store at the time the app launches, click Install anyway application launch button.
  • Click on Search button within the DelEmpty application to navigate to the desired directory in which you want to delete empty folders.

  • You will immediately see a list of all folders and subfolders present in the selected directory.
  • Highlight the folders you want to delete and click Delete button to delete such folders.

  • Well done. You have successfully deleted all empty folders in the desired Windows directory.

Completion: No more empty folders

We hope you have now learned to delete empty folders in your Windows 10/11 system so that your files are undoubtedly organized. If this article has helped you improving the Windows experience, then press the like button and share this with your friends to help them with their problems. Follow us for more helpful troubleshooting guides.

You can also follow us for current technology news on Google News or for tips and tricks, reviews of smartphones and gadgets, join GadgetsToUse Telegram Group, or subscribe to the latest videos with reviews GadgetsToUse Youtube channel.


Source link

Leave a Comment