A bat file to easily delete 0 bytes of invalid files

  
                  

A few days ago, I encountered a problem when downloading. Some 0-byte files could not be deleted. When deleting, there will be a prompt for the words “File does not exist”. It is very effective to find a method on the Internet. Create a new text file and enter the following:

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

RD /S /Q \\\\?\\%1

Then save, change the text text suffix name to *.bat type (eg: "del.bat"), then drag the file to be deleted to the top and delete it.

Copyright © Windows knowledge All Rights Reserved