Unfinished downloads, previous installations, and many other junk files over time accumulate and occupy your disk space. While this removal of unwanted documents can be done using the Disk Cleanup or Storage setting, many empty files and folders persist.
So is it safe to delete empty folders or files in Windows? Let’s find out the last Macworld following article!
Is it safe to delete empty folders in Windows 10?
Generally speaking, it’s safe to delete empty directories, although you won’t save real space as they take up 0 bytes. However, if it’s just the cleaning you want to do, you can continue.
In any case, you will not be able to delete folders created by the system. And even if you can delete empty folders created by Windows, they will be recreated after the system reboots.
In some cases, you may get a dialog box telling you that you need permission to do so. It is best to ignore or avoid forcing deletion of such folders.
Again, if Windows asks for administrative privileges to delete any folders, you should avoid doing it or choose Skip.
In the event that folders coming from the Program Files folders have been uninstalled, you can safely continue. In the event that they are located in the current program folders, you can still delete them. If specific programs request at any time, they will be recreated.
To be more careful, you should empty the Recycle Bin, create a system restore point and then, if the software allows, choose to put empty folders in the Recycle Bin, rather than directly deleting them.
Is it safe to delete blank or 0-byte files?
No, it is best not to delete such 0-byte files. Some MS installs may use 0-byte files, like uninstall procedures, Mail programs, etc.
Blindly deleting it all can cause Windows or your installed programs to work incorrectly. So unless you know which 0-byte files to delete, it’s best not to delete them, as they don’t take up any space on the drive!
Delete empty files and folders
Microsoft provides a one-line batch script to delete empty directories:
for /f "usebackq" %%d in (`"dir /ad/b/s | sort /R"`) do rd "%%d"
But if you’re looking for an easy way, consider the free software to remove empty folders in Windows 10. These freeware will find and delete 0-byte files for you.
- Is it safe to delete files from the Windows Installer folder in Windows 10?