What should I do if the file name in Windows system is too long to delete?

  

First of all, there are many reasons for this problem, and the way the reader operates may not be correct. Therefore, this article does not guarantee that the file name under Windows cannot be deleted. This experience is based solely on personal experience and does not refer to a standard solution to the problem. Under Windows, sometimes it will appear that the file name is too long to delete the file or directory. This is because the file name is too long and the system cannot be deleted. The solution is as follows:

1, DEL /F /A /Q \\\\?\\%1RD /S /Q \\\\?\\%1 Copy the above code into a text file (txt file), then Change the file name to DEL.BAT.

2, drag the files or directories that cannot be deleted to the BAT file with the mouse.

3. Please note that when you change the file name to del.bat, the configuration of the file extension displayed in your Windows Explorer should be open. Otherwise the functions described in this article cannot be implemented!

Related recommendation:

How to delete invalid icons in Windows notification area

What should I do if dll dynamic link library error occurs in windows system?

Copyright © Windows knowledge All Rights Reserved