Hardware and software setup

Program for checking empty folders. How to find and delete empty folders

How to find and delete empty folders on the computer?

Today we will look at how to find and delete empty folders on your computer. I don’t know about you, but when I urgently need to store something in a folder (for example, unused documents or already watched movies), I just create a folder without renaming it in any way, throw everything into a pile and put it off until better times. After the documents are no longer needed, I try to delete them, but I forget to delete the folders.


And even after uninstalling programs, there are a lot of empty folders that, although they do not take up much space, are pretty callous to the eyes. And so, I decided to find all the empty folders on the computer and delete them forever!


To do this, I downloaded the program Remove Empty Directories which was created just for this purpose.



After downloading and installing the program, run it, let's figure out what it can do and how to work with it correctly.


To get started, go to the program settings tab, in it you need to pay attention to 3 important blocks:



1. Removal method. By default, delete to trash is selected.


2. Files to be ignored. Those. if the folder contained only *.tmp files, the folder will be considered empty.


3. Directory names to be ignored.


I think everything is clear with this and there should be no questions. We move on.


Now open the first tab again “ Scan” and press the button “ Scan again” to scan the entire computer. If you want to check only a certain directory (for example, the desktop), then click the “ Browse” and specify the path to the desktop. Here is an example of the result of scanning my desktop



As you can see, I found two empty folders on my desktop, as evidenced by their highlighting in red. Folders that are not empty are highlighted in gray (they will not be deleted).


I press " Delete folders” and wait until the folders are deleted



Ready! Now you can clean your computer from empty folders yourself! Periodically check your computer and clean it of empty folders, this is often done along with

A small utility for cleaning the system from empty folders and "null" files. You can detect and remove unwanted objects using a variety of filters and conditions. The program is very simple, small in size and undemanding to system characteristics.

Remove Empty Directories allows you to forget about the routine manual cleaning of the system from empty unnecessary objects that often remain after uninstalling various software products. With the help of the utility, you can put your storage devices in proper order.

The program scans disks and selects empty folders and files recursively, that is, the search continues below the specified directory in all subfolders.

After the utility scans the storage areas you specified on the disks, it will display the found items. Then, having marked unnecessary objects or having selected the entire list, you can transfer them to the trash or completely delete them from the disk using the keyboard shortcut (Shift + Del).

All basic deletion options and search conditions for empty folders are specified in the "Settings" tab.

Features of Remove Empty Directories:

  • The program lists found empty directories before deleting them.
  • Supports multiple modes of automatic deletion to trash
  • Allows you to set white and black lists for search using filters
  • Supports detecting folders with null files inside
  • High speed disk scanning

For stable operation, the installed package is required.

Empty folders that were erroneously created by a user or a program usually do not interfere with operating system users. Windows systems 10. However, when the user launches a search, an empty directory makes it difficult to quickly find the desired object. Therefore, you can use PowerShell command and delete unnecessary folders.

Find and delete empty folders in Windows 10

In order to find and delete empty folders in Windows 10, you should run PowerShell and enter the following script (each line in turn).

$SomePath="C:\Users"
Get-ChildItem -Path $SomePath -Recurse -Directory | ForEach-Object -Process(
if ($false -eq $_.GetFileSystemInfos())
($_.FullName))

The first line of the script is the $SomePath variable, containing the full path to the section or directory in which to search for empty folders. You can change it to another disk.

In the second part of the script - bypass given location with a condition. This condition is a search for an empty directory. The results in the console will be displayed as an address to an empty folder.

IMPORTANT! If you're going to be looking for empty folders, it's a good idea to run PowerShell as an administrator.

This simple script only looks for empty folders, but does not delete them. This will have to be done manually, after checking the directory. This is a positive moment, since uncontrolled deletion of even empty folders can lead to errors in work. operating system and software.

Good day, dear friends, acquaintances and other personalities. Today we will learn how delete empty folders from a computer based .

The fact is that in the course of using a computer, a lot of all sorts of empty folders are created (they are created both by the system itself and by the user). Actually, as you understand, in this article we will focus on a program that searches for and deletes empty folders on a disk.

To be honest, I was quite surprised when I saw that she found order 6000 empty folders on the disk with the system alone :)

As a rule, these folders are created by itself during any installations, caching, etc., and, of course, they are created, of course, they are initially full, and then the files from them (say, after installing something) are deleted, but the folders themselves remain dead cargo.

Not to say that this is bad, because. the weight of these folders is 0 bytes, but still, purely theoretically, for file system it will be better if there are fewer of these folders in the file table. Yes, and you, if anything, do not have to poke around in folders where there is nothing :)

In general, to business.

How and how to delete empty folders from Windows

For our purposes, the Remove Empty Directories program is perfect. I must say that she is quite capricious in terms of work, she kicks here, then there, but in general you can make friends with her :)

I could not find a human working analogue, at least for me. Earlier, I remember, I used SBMAV Disk Cleaner for similar needs, but he switched to paid rails, and other cleaners hard drive work in terms of finding and deleting empty directories is not as efficient.

You can take the program, for example, from here.
Installation is extremely simple, and I will not dwell on it.
There is no support for the Russian language, but it is not needed there - everything is intuitively clear anyway.

IMPORTANT ! The program requires an installed .

After installation, run the program, use the "Browse .." button to select the disk to scan and click in Scan Folders.

After waiting for the end of the scan, we happily press Delete Folders and enjoy the result. Look like that's it :)

It remains to do the same with all the disks in the system.

Afterword

I don’t know how much more useful it really is, but it doesn’t hurt - a fact. Usually never. If necessary, Windows itself will re-create the necessary folders if it needs them.

One way or another, for me personally, it was convenient in the first place because I stopped running into empty folders while traveling through the insides of the system. And it happened, you go with the mouse along a huge path in the explorer, - tyrk tyrk tyrk, - but it's empty there! :) It's a shame, the right word.

If you have any questions, additions, wishes, then, as always, I will be happy to answer them in the comments to this article.

Liked the article? Share with friends!
Was this article helpful?
Yes
Not
Thanks for your feedback!
Something went wrong and your vote was not counted.
Thank you. Your message has been sent
Did you find an error in the text?
Select it, click Ctrl+Enter and we'll fix it!