For example ..con nul etc.
Two lines of code are completed, quickly delete files and folders using illegal file names. Monday, June 4, 2007, 19:08
Copy the codeThe code is as follows:
DEL /F /A /Q \\?\%1
RD /S /Q \\?\%1
Save it as a .bat or .cmd file.
If you encounter something like runauto.., com1, etc. in the future, just drag it from the explorer to this batch file, the black window flashes and the file (folder) disappears immediately.
This method is very useful, but it has loopholes.
No filtering out& so we can execute the code Haha
There are two keys
The folder environment started is C:\Documents and Settings\Administrator
To delete a directory, you need to separate parameters with commas instead of spaces :)
exp: allyesno&cd..&cd..&rd, you deleted me
Take a shower and go to bed. It's almost dawn. . . .