Phenomenon:
Because the download interrupted, more than three 0-byte files on the desktop, the end. Pdf_ and. Tar_, deleted when the file does not exist, and cannot be renamed, use CMD LS to see the file in the list, size 0kb
Operating system: win8.1
Method:
Using the common online
@ECHO OFF
Cls
Color 0a
is echo sure you want to try to delete? OK to delete please press any key to exit please close the window.
Pause >nul
taskkill/f/im Explorer.exe>nul
Echo y| Cacls%*/c/t/P everyone:f >nul
del/f/a/q \\?\%*
RD/S/q \\?\%*
Start%windir%\explorer.exe
Exit
Dragging into any file cannot be deleted, and the Explore.exe process will be terminated.
After the experiment found to drag three files together into the Del.bat, then the first file (yes, the Windows desktop from left to right first) will be deleted, BAT's window flashed the word "The file does not exist."
The remaining two files are dragged into the bat file again, the first file is deleted, and the word "The file does not exist" is still displayed.
The remaining file, which is associated with any other file, is dragged into the Delete method (deleting the file individually will fail and cause the explore process to be terminated).
The 0-byte file still needs to be dragged into bat with the first bit and a file that can be deleted normally, and the last two files will be deleted.
Remember to delete a strange 0-byte file ...