问题如下图所示:

解决Windows10系统下尝试删除文件显示“指定的文件名无效或太长” 而无法删除文件


问题解决方案来源地址:https://www.reneelab.com/cant-delete-folder-windows-10.html

Delete a File or Folder Using a Bat File

Create a text document, type in some commands and save as a bat file. Then you could use it to delete the file or folder that can’t be deleted.

Step 1: Right click the desktop, click “New” and select “Text Document”.

解决Windows10系统下尝试删除文件显示“指定的文件名无效或太长” 而无法删除文件

Step 2: Type the following commands in the Notepad.

 

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

解决Windows10系统下尝试删除文件显示“指定的文件名无效或太长” 而无法删除文件

Step 3: Click “File” and “Save As”. Then enter a file name “files_del.bat”. Click “Save”.

解决Windows10系统下尝试删除文件显示“指定的文件名无效或太长” 而无法删除文件

Step 4: Drag the file or folder that needs to be deleted to the “files_del.bat” file and then release it. The target file or folder will be deleted.

解决Windows10系统下尝试删除文件显示“指定的文件名无效或太长” 而无法删除文件

相关文章:

  • 2022-12-23
  • 2021-11-02
  • 2022-12-23
  • 2021-05-01
  • 2021-04-18
  • 2022-12-23
  • 2021-07-09
  • 2022-01-13
猜你喜欢
  • 2021-12-28
  • 2021-09-04
  • 2021-12-12
  • 2021-11-26
  • 2021-09-11
  • 2021-11-24
  • 2021-06-07
相关资源
相似解决方案