Empty folders cannot be deleted and cannot be opened, “The item does not exist, please confirm the location of the item”, “The item is being opened and cannot be deleted”, “The file is damaged or has been moved and deleted” (multiple methods with graphic explanations, details Need to pay attention, and possible problems)

1. Preliminary summary – the situation that triggers this folder

  • This file or folder that cannot be deleted is actually an ancestral bug of the Windows system that has not been fixed so far, so we need to deal with it through special means. Listening to my slow talk about his reasons may be helpful to solve this problem. More help, there will be several methods, I have tried them all, I will put the last successful one in the first one, and there are no successful ones for reference.

  • The reason for this is that I am using Typora to take notes recently. This tool supports markdown, but when it comes to inserting pictures, I hope that the name of the picture folder it exports is consistent with the .md document, so I set it up and used it. It comes with ./${filename} to save the picture, as shown below

  • Normally, after ./${filename} is set, a folder with the same name will be generated under the same folder of the .md document to install its pictures

  • but!!!

  • but!!!

  • But I mistyped ./${filename} as “./${filename}..”

  • It seems that there is no problem, so I wrote two more dots (..), and then started to write the .md document. I found that the folder that generated the picture could not be opened and could not be right-clicked to delete. It was really outrageous. At that time, I Generated more than 10 folders that cannot be deleted

  • I am just giving an example here. It will generate a folder with a suffix of . (not the case of specifying the owner). This is an ancestral bug of the Windows system that has not been fixed so far. Under normal circumstances, we cannot give the folder a name. It is impossible to add a . at the end of the name. Once the software outputs a wrong file path, a folder with a . may be generated. Under normal circumstances, it cannot be opened or deleted, as shown in the figure below

2. The triggering situation is shown in the figure. You can see that there are 1 or 2 dots behind this folder. I try to delete, move, open, and rename in a normal way, and it will show that the file cannot be found. Path, file does not exist, location is not available etc. ?

cannot be deleted

Cannot be renamed and compressed by default

cannot be moved or copied

3. The final solution (emphasis*)

  • First of all, let me tell you that it is not an advertisement, first download a 360 security guard, it is not too late to solve the problem and then uninstall it because there are too many advertisements, it has a powerful file The smashing function, and it must be operated like mine to be able to successfully smash. Ordinary right-clicking directly smashing and dragging in directly smashing are invalid. I can’t guarantee that the powerful smashing of other anti-virus software will be useful, but you must try 360. Powerful crushing, by the way, make complaints about Baidu Tieba, Zhihu and CSDN, etc. After browsing a large circle, it is full of duplicate content. It is called to use DOS command BAT command to delete files, but it has no effect. If you fail, you can look at this solution. I Also written in the back, not much nonsense, the picture above

  • After installing 360 Security Guard, right-click the folder that cannot be deleted, and use 360 to delete the shredded file and operate as shown in the figure

Right-click and use 360 Powerful Delete, different versions may be called 360 Powerful Crush

Check the file to be deleted, check the box below to prevent recovery, and then see if it can be deleted, if you can’t continue

for now

Do not close the 360 powerful delete interface because it may still be useful

Do not close the 360 powerful delete interface

Do not close the 360 powerful delete interface

Say important things three times!!!!!

Although it shows that the shattering is successful, do not close the 360 powerful delete interface for the time being, because it may still be useful

It is also possible that the folder you want to delete has been deleted. In this case, there is nothing in the folder, and the folder is deleted directly. If it is not deleted, continue down

It may also be a case that its name has become a string of random numbers, which means it is also successful, because you can directly right-click and delete it normally. In this case, a new file with a random number name appears after deletion Folder, and double-click to open there are files, still can not be deleted? Go down

Because the folder is actually not empty, it can be opened normally, and there are damaged files formatted by the 360 shredder in it, and then you can delete it normally, maybe it still cannot be deleted? As shown in the figure

Maybe the pop-up box prompts that the file is opened and cannot be deleted. The content of the pop-up box is that the file is being opened, and the deletion operation can only be performed after it is closed. Direct task manager finds the process and closes it. If you don’t know how to close it, restart the computer directly. Restarting it will Automatically close the opened file for you, and you can delete the folder normally. If the above two situations are not true, you can continue to solve it, because some folders have permission problems. After all, most people’s desktop defaults to C Disk, some sensitive operations require permission

↓ ↓ ↓ ↓ ↓ ↓ ↓

↓ ↓ ↓ ↓ ↓ ↓ ↓

↓ ↓ ↓ ↓ ↓ ↓ ↓

4. If the previous step cannot be deleted, you can directly go down (emphasis*)

Open the 360 powerful delete page that has not been closed just now and click to add files. It must be clicked here, instead of directly right-clicking the file to delete it or dragging the file directly. That is invalid, but you can try it, it may be useful

Select the files that you cannot delete, so that 360 can delete the real name of the folder

The culprit is that one or two hidden dots are added to the name of the folder. Pay attention to the suffix of the picture folder

Look at this point with a magnifying glass and it is indeed the culprit. This is an ancestral bug of the Windows system that has not been fixed so far. Under normal circumstances, we cannot add a . to the end of the folder rename. Once the software outputs a wrong file path, it may be A folder with . is generated with one click, that is to say, it cannot be opened or deleted under normal circumstances, and such a folder cannot be produced naturally

There may still be random number folders, first try to delete them directly, if not, then restart the computer. This will definitely delete them

5. Summary of successful deletion

This is the problem I spent three days solving. Many people actually want to ask why they don’t try DOS and BAT commands to delete files. Didn’t they say it before? I tried it, Baidu and CSDN are full of repeated posts, it’s really disgusting, and I can’t solve it in the end, as long as I can’t use PE system processing and F8 security mode processing, there is also a registry method?

6. Other methods (common solutions on the Internet)

1. The file may be damaged

win + R to run cmd at the command prompt and type: DISM.exe /Online /Cleanup-image /Scanhealth and press Enter.

Deployment image servicing and management tools wait for prompts to 100%.

Then type in cmd: DISM.exe /Online /Cleanup-image/Restorehealth and press Enter, and wait until 100% as above

Continue to type sfc /scannow and press Enter, wait for the automatic repair of damaged files to complete and delete them

ps: However, many people should not have DISM.exe, which means they cannot execute the second command, or missing related files

2.Windows XP registry solution media files cannot be deleted

In Windows XP, when we delete some AVI files, we often prompt that they cannot be deleted. This is because the system has a read-ahead cache mechanism function. In this regard, we can directly cancel this function, just input “Regsvr32 /U Shmedia .dll” during operation. Or run “Regedit” to open the registry, and delete the “HKEY_LOCAL_MACHINESOFTWAREClassesCLSID{87D62D94-71B3-4b9a-9489-5FE6850DC73E}InProcServer32” key value.

ps: Only the XP system is available, I give up on Win10 decisively

3. Use WinRAR to compress files that cannot be deleted (in fact, some software also has them, you can try)

Didn’t it say that it can’t be compressed? That’s conventional compression. WinRAR has a function of compressing and automatically deleting source files.

When the file cannot be deleted, WinRAR can be used to solve it. Select the file and right-click, select “Add to compressed file”, and then select “Delete source file after compression” in the pop-up compression parameter setting window, and finally delete the generated compressed package.

ps: I downloaded it and tried it, but the compression failed, and the file that needs to be compressed cannot be found…

4. Log off or restart the computer, and then delete the file without any operation;

It may just be that the cache has not been cleaned up, and the anti-virus software routinely cleans up a set

ps: There is such a possibility, but I can’t do it in this case…

5. Select F8 to enter safe mode to delete at startup;

ps: This method is very feasible, but I don’t just see big guys operating it, and there are not many online tutorials in this area…

6. Use the DEL command to delete in DOS mode, use the RD command to delete, or write it as a bat file;

DEL /F /A /Q \?\%1
RD /S /Q \?\%1

ps: I don’t say that I should understand this method, Baidu has a bunch of repetitions, it can’t solve my kind of…

7. The task manager ends the Explorer.exe process, and then run cmd to delete it with the del command in the command prompt

ps: I thought this method was just to avoid permission issues, but the file path was still not found…

8. System files can be deleted by using multiple systems or connecting the hard disk as a slave to other computers

ps: The damaged folder cannot be moved, there is no solution directly, and there are no multiple computers…

9. It can be easily deleted by directly formatting the current drive letter

ps: This is more feasible, but this is my C disk desktop……

10. Use PE system to process

ps: This method is very feasible, but I don’t just see big guys operating it, and there are not very rich online tutorials in this regard, and there are no resources…

The above is my personal experience sharing, I don’t like it, I hope it can solve your problem