“Dizzy~~ Deleting is not a problem~~ The hard part is to search for such folders~~ ~~~
1,000 or 10,000? Can't you ask me to delete manually?
The only rule is folders ending with.dd... . . . "Is this called getting angry? I said deleting 1,000 manually would be tiring? What about 10,000? All manual deletion?
Forget it~ ~
CODE: [Copy to clipboard]
--------------------------------------------------------------------------------
::Delete malformed directories in the current path
for /f "delims=" %%a in ('dir/ad/b^|findstr /e "\."') do rd /q/s "%%a.\"
CODE: [Copy to clipboard]
--------------------------------------------------------------------------------
::Delete malformed directories in the current path, including subdirectories
for /f "delims=" %%a in ('dir/ad/s/b^|findstr /e "\."') do rd /q/s "%%a.\"
-----------------------------------------------------------------
Delete empty malformed directories in the directory tree and display non-empty malformed directories
CODE: [Copy to clipboard]
--------------------------------------------------------------------------------
for /f "delims=" %%a in ('dir/ad/s/b^|findstr /e "\."') do rd "%%a.\" 2>nul||echo %%a
This is your answer... Unfortunately, it doesn't work~ ~ Can't modify it~ ~
@echo off
for /l %%a in (0 1 50) do rd /q /s "%userporfile%\Desktop\%%a%%b..\" 2>nul
I know this is adding from 0 by 1 up to 50, deleting folders like 01.., 02..
But mine is not.., but.dd, and the front is not regular~ ~
I didn't get very angry...
But I hate not reading the question clearly and just answering to get points~ ~
I'd rather no one answers~ ~ I'd rather search for information by myself~ ~
Looking at the answers is根本 not what was asked... Even saying that manual deletion is okay.
Can ask for advice... Begging for help is out of the question·~ Won't kneel and beg. Naked begging~ ~
If the moderator sees that my tone is too excessive, you can deduct points and warn·~
[[i] Last edited by p1509101 on 2008-4-3 at 09:08 PM [/i]]