7 ways to fix Windows error showing an empty folder even though there are files inside
It's confusing to see an empty folder, when the folder size says it's not. The problem becomes more difficult if you need the files urgently. If you remember to definitely copy data to the folder (which is reflected by the size of the folder), but the folder appears empty again, don't worry.
Many times files are hidden, resulting in empty folders. However, sometimes, the problem can be of a more serious level. Regardless of the problem, the following article will cover the fixes in this article to help you regain access to your files.
1. Eliminate system-specific problems
Restart your computer before trying any fixes to make sure it's not a temporary glitch. If the problem persists after you boot your system once, check if the problem is folder-specific or persistent throughout the operating system.
If the problem is everywhere, your operating system is at fault. To solve the problem, update or reset the operating system. However, if the problem persists in only one folder, try the following fixes.
2. Make sure files are not hidden
Hidden files also contribute to the overall file size. Therefore, if you find that a folder of considerable size appears as an empty folder again, make sure that the files are not just hidden. To do so, follow these steps:
Step 1: Go to an empty folder, even if the size is displayed.
Step 2: Navigate to the View tab in File Explorer.
Step 3: Check the Hidden items box in the Show/Hide section.
If files were previously hidden, you can view them now.
3. Use the help of Command Prompt
By running a set of commands in the Command Prompt, users can perform specific checks, run scans, and manage other processes. A built-in command can be used to check for missing or hidden files and folders on the hard drive.
Running this command has a good chance of recovering the files in the directory. To run it, follow these instructions:
Step 1: In the Windows search bar, type "cmd".
Step 2: Right-click on the Command Prompt application and select Run as administrator to open CMD with admin rights.
Step 3: Enter the following command into the Command Prompt application:
attrib -h -r -s /s /d D:/*.*
Step 4: Press Enter.
D: in the command syntax refers to the drive containing the missing files. If the partition containing the missing files is different from D:/, you should adjust the command accordingly.
Allow the process to complete and reboot the machine. Then check the folder again to see if the files are present. If not, continue working on other fixes.
4. Restart Windows Explorer
Windows Explorer, also known as File Explorer, allows you to browse through files and folders. That's why it is often called a Windows file manager application. When you open a file, organize a folder, copy or move it, Windows Explorer performs these actions.
Therefore, restarting it can help you recover files and folders that may have lost their preview due to problems with File Explorer. To restart Windows Explorer, follow the instructions in: How to restart the Windows Explorer.exe process.
5. Run a drive check
Hard drive problems can also be the cause of the problem. Therefore, before proceeding further, you must check the hard drive for errors. Although there are many ways to run the Windows drive check, this is the simplest:
Step 1: Right-click the Windows Start button and select File Explorer.
Step 2: On the left side, click This PC.
Step 3: Right-click the partition containing the empty folder and click Properties in the context menu.
Step 4: In the Properties window, navigate to the Tools tab.
Step 5: In the Error-checking section, click the Check button.
Step 6: Whether showing any errors or not, click Scan Drive.
After completing the scan, check the problematic folder to see if the files have been recovered. If not, continue with the fixes below.
6. Scan for Malware
The absence of files in a directory can also occur due to the presence of hidden malware. Therefore, if the fixes do not help you recover your data, you must rule out the possibility that malware is the culprit.
There are several ways to remove malware from a Windows PC; you can use a third-party malware removal tool to get rid of the virus, use Windows tools to clean your PC, or just run Microsoft Defender Offline Scan to make sure your computer is free from viruses. malware.
Once the virus has been removed, go back to the same folder and check if the files you were expecting to access are back. If the files are found, you will need to take further steps to ensure that other files and folders are safe from virus attack.
If malware scanning and virus removal don't help, you may need third-party software to recover data.
7. Use a third-party data recovery tool
If none of the above fixes help you regain access to your files, a third-party data recovery tool should be the last resort. The data recovery software works by using different algorithms to find traces of lost files on the hard drive and then gives the user the option to recover the files that are no longer on their computer. them anymore.
Therefore, run a data recovery tool to see if it can help you find your lost data. Although many third-party tools can assist you in recovering your data, the article recommends that you check out the best data recovery tools available: EaseUS, Disk Drill and Recuva.
Hopefully, after doing the fixes mentioned above, you will be able to retrieve the files that are not visible in the folder. When things go wrong, third-party data recovery tools won't let you down.
In addition, common problems with the Preview pane can also cause this error. Therefore, make sure that the problem is not coming from a problem in the Preview pane.
You should read it
- Delete all empty folders on Android with just one touch
- Instructions for fixing errors 'Cannot delete folder: The directory is not empty'
- How to fix errors cannot clean up Trash on Mac
- 7 small tips with folders in Windows
- New Windows 11 problem: Self-created hundreds, thousands of empty folders
- How to Make a New Folder on a Computer
- How to delete all empty folders, junk folders on Windows 10
- Delete Files on Mac - Empty Trash or Secure Empty Trash?
- Search and delete empty folders on Windows using PowerShell
- How to completely hide a folder with a single command on Windows
- How to Set Password for Folder and File in Windows
- How to access WindowsApps folder on Windows 10 and Windows 8?
Maybe you are interested
9 ways to fix the error of not being able to save files as JPEG or PNG in Photoshop
How to use the file search command on Windows, find saved files
How to split sheet into multiple separate Excel files
How to merge PDF files, merge and join multiple PDF files into a single file
How to clean up iPhone junk, delete junk files to free up iPhone storage
Microsoft officially supports sharing files from iPhone to Windows using Phone Link application