Delete folders with . on the command line
There is a temp.. folder in the system, which is probably a *
Enter DOS
Enter the location of the file
rd /S /Q temp..\\
This will not prompt the error that the folder is not empty.
For the convenience of everyone, here is a better method:
DEL /F /A /Q \\?\%1
RD /S /Q \\?\%1
There is a temp.. folder in the system, which is probably a *
Enter DOS
Enter the location of the file
Copy the codeThe code is as follows:
rd /S /Q temp..\\
This will not prompt the error that the folder is not empty.
For the convenience of everyone, here is a better method:
Here is a more powerful deletion code (execute malformed files)
Save the following code as
Copy the codeThe code is as follows:
DEL /F /A /Q \\?\%1
RD /S /Q \\?\%1
How to use: Just drag the file you want to delete to this bat file