It can only delete the 123456 folders inside subdirectories. If I create a 123456 folder in the root directory, it can't delete it. Please take a look at where my code is wrong.
[ Last edited by HAT on 2008-11-17 at 11:14 ]
for %%a in (c d e f) do (if exist %%a: (for /f "delims=" %%b in ('dir /s /b /d /a "%%a:\123456"') do (rd /s/q "%%b")))[ Last edited by HAT on 2008-11-17 at 11:14 ]
