How to find and delete all empty folders in Windows 10

Last update:


How to find and delete all empty folders in Windows 10


Like unusable files empty Windows 10 folders can cause certain problems in the system so let s see how to delete them

As many of you will already know, the Microsoft Windows 10 system has a tool that allows us to see the use of hard disk space that we use on the computer, something that can be very useful when it comes to freeing up space, for example.

And you have to keep in mind that the files large and useless that occupy space unnecessarily on the hard drive , they only slow down the system and create possible problems, something that can happen equally if We have a good number of empty folders , since these can cause problems when trying to find a specific file .

It is for all this reason that Next we will see how we can get rid of those folders without content in Windows 10 . In the beginning and to carry out this task, we can do it by executing a command in PowerShell , which will show us a list of all empty folders . Thus, once we access this section, we type the command without quotes and customize the username or the full path of search :

accoun$SomePath=†C:\users \ USER_NAME \Desktop

Get-ChildItem -Path $ SomePath -Recurse -Directory | ForEach-Object -Process {

if ($ false -eq $ _. GetFileSystemInfos ())

{

$_.FullName

}

}

Remove empty folders from disk drives in Windows 10

Therefore, this is a command that will return a list with all empty folders in the specified location , in this case the desktop , although the path to the folder in question will not be included in the list. Moreover, as is logical to think, neither is going to remove or move . In case we want to get rid of any of the folders listed here, we can also do it through the PowerShell, but it is easier to delete them from the File Explorer .

At the same time, keep in mind that if you execute this command for a whole disk drive , the process may take a while on completion, especially if we run it on the Windows drive itself. Of course, it is worth noting that in principle we do not need administrator rights to execute this command, however if we run it on the Windows drive, it will be This is an indispensable requirement.

And otherwise, this command will not be able to scan certain folders that are protected by the system in search of the gaps. In fact it is possible that even with rights of administrator , the command may not analyze certain directories that are somewhat sensitive for Windows itself, since these may be empty, but the operating system > created them because you need them for something internally.

Watch video - How to find and delete all empty folders in Windows 10







All rights reserved. Unauthorized reproduction, in whole or in part is strictly prohibited.






MOST POPULAR POSTS

How to replace Windows 10 notepad with another application

How to replace Windows 10 notepad with another application

We are going to show you how to replace the popular notepad application that integrates Windows 10 with another third party tool Quick Access Required Content Replace the Windows 10 notepad with another editor Watch video - How to replace Windows 10 notepad with another application Only a few days ago we talked about the widespread use of a tool as simple as the text editor included in Windows for almost 3 decades, the notebook, still has at this time. And in the times that we can use a good amount of programs that serve as alternatives to the one mentioned by Microsoft, so at the time we already show you ...


32
10
99
Nero 2019 review Analysis of the new multimedia and recording suite

Nero 2019 review Analysis of the new multimedia and recording suite

We analyze Nero 2019 the latest version of this multimedia and disc burning suite that arrives with interesting improvements and novelties Quick Access Required Content News Nero 2019 Testing Nero 2019 The recording suite is still the queen If you want to be able to open and play any type of multimedia file, Nero will help you Nero allows you to create your own videos and re-encode the ones you already have to other formats Nero is also a great ally for your computer and your data Other additional tools Download Nero 2019 Watch video - Nero 2019 review Analysis of the new multimedia and recording suite ...


28
17
60
Microsoft launches new themes to dress up Windows 10 Halloween

Microsoft launches new themes to dress up Windows 10 Halloween

Microsoft has just made available to everyone a new theme focused on Halloween pumpkins a holiday that is just around the corner Quick Access Required Content How install the new Halloween theme on Windows 10 Watch video - Microsoft launches new themes to dress up Windows 10 Halloween One of the most anticipated holidays by many is approaching, and although in the beginning its origin is American and was celebrated only in North American lands, the truth in which a few years to this part Halloween is It has extended to much of the world, so it is now celebrated in many regions . In fact this is a feast of such ...


6
8
52





Windows 7 a sales success

Windows 7 a sales success

Windows 7 is reaping a sales success Windows 7 has sold twice as much as other operating systems in the first month of its launch Quick Access Required Content Watch video - Windows 7 a sales success Microsoft's new operating system: Windows 7 is a bestseller, as it has sold twice as many copies as any previous version of Windows at the same time, Microsoft CEO Steve Ballmer announced at a shareholders meeting.The CEO of Microsoft used the word fantastic to describe the sales of Windows 7 , in addition to stating that: "Windows 7 is the best PC operating system we have built"Although Ballmer never offered sales figures, according ...


8
13
58
Xbox Game Pass will come to Windows 10 more free games for PC

Xbox Game Pass will come to Windows 10 more free games for PC

It has just been announced that the Xbox Game Pass mode will reach Windows 10 which means there will be more free games for the PC platform Quick Access Required Content Microsoft will unite the PC and Xbox platform even more thanks to Game Pass Watch video - Xbox Game Pass will come to Windows 10 more free games for PC From the moment Windows 10 was made available to the millions of users of previous versions of the system more than 3 years ago , one of the main objectives that Microsoft marked was to unify all its platforms and products , both present and future, around the mentioned system. This includes ...


7
25
97
Microsoft releases KB4462933 patch for Windows 10 April 2018 Update

Microsoft releases KB4462933 patch for Windows 10 April 2018 Update

Microsoft has just released a new cumulative patch for Windows 10 April 2018 Update KB4462933 which fixes a good number of bugs Quick Access Required Content Other problems fixed in the Windows 10 update KB4462933 Watch video - Microsoft releases KB4462933 patch for Windows 10 April 2018 Update Despite the problems that the most recent Windows update 10 has had worldwide, to the point of being removed temporarily, Microsoft cannot ignore the other versions of the system that continue to receive official support from the firm. This is the case of the immediately previous version , 1803 or April 2018 Update , ...


60
27
126
How to replace Windows 10 notepad with another application

How to replace Windows 10 notepad with another application

We are going to show you how to replace the popular notepad application that integrates Windows 10 with another third party tool Quick Access Required Content Replace the Windows 10 notepad with another editor Watch video - How to replace Windows 10 notepad with another application Only a few days ago we talked about the widespread use of a tool as simple as the text editor included in Windows for almost 3 decades, the notebook, still has at this time. And in the times that we can use a good amount of programs that serve as alternatives to the one mentioned by Microsoft, so at the time we already show you ...


9
23
99
Nero 2019 review Analysis of the new multimedia and recording suite

Nero 2019 review Analysis of the new multimedia and recording suite

We analyze Nero 2019 the latest version of this multimedia and disc burning suite that arrives with interesting improvements and novelties Quick Access Required Content News Nero 2019 Testing Nero 2019 The recording suite is still the queen If you want to be able to open and play any type of multimedia file, Nero will help you Nero allows you to create your own videos and re-encode the ones you already have to other formats Nero is also a great ally for your computer and your data Other additional tools Download Nero 2019 Watch video - Nero 2019 review Analysis of the new multimedia and recording suite ...


17
15
60
Microsoft launches new themes to dress up Windows 10 Halloween

Microsoft launches new themes to dress up Windows 10 Halloween

Microsoft has just made available to everyone a new theme focused on Halloween pumpkins a holiday that is just around the corner Quick Access Required Content How install the new Halloween theme on Windows 10 Watch video - Microsoft launches new themes to dress up Windows 10 Halloween One of the most anticipated holidays by many is approaching, and although in the beginning its origin is American and was celebrated only in North American lands, the truth in which a few years to this part Halloween is It has extended to much of the world, so it is now celebrated in many regions . In fact this is a feast of such ...


16
12
52