Cannot delete empty folders in Windows 7
When you failed to delete empty folders in Windows 7 and saw the error message goes like: cannot delete folder: it is being used by another person or program. Close any programs that might be using the file and try again, or the action can't be completed because the folder is open in another program Close the folder and try again. You can try to erase them instead with ByebyeData Eraser's erase files and folders function. Download it and we'll start to erase:
1 Close all the running programs and all the opened windows.
2 Run the data sanitization program and click Erase files and folders tab in the main interface.
3. In the child-interface click the dropdown menu beside the Add files button and select Add folders.
4. Navigate to the empty folders and add them to the erase list.
5. Select one erasing plan for the folders, since we're about to clean them, we don't need multiple passes and much time spend on it, so simple overwrite methods are good for us, or just leave it as default, the write-zero overwrite plan.
6. Click Erase Now and confirm it when the warning message shows.
Or you may try the alternative plan for the empty folders:
1. Go to the empty folder path and right-click on it and then click Properties.
2. Under the General tab, Attributes line, uncheck the Read-only box > Apply >OK.
3. Press F2 on the select folder and rename it to 0 or X or other simple name.
4. Press Shift + Delete to permanently delete this folder instead of throwing it to recycle bin.
There may be other reasons why we can't delete empty folders, but ByebyeData Eraser is able to erase them when it can lock the folder, so when next time you tried the Windows default methods in vain you can try this Eraser instead. Also, this guide applies to not only Windows 7, but Windows XP, Vista, 8, and Windows 10.