此为清理found和$开头的文件夹..
内容如下:
set alldrive=c d e f g h i j k l m n o p q r s t u v w x y z
for %%a in (%alldrive%) do (
for /f "delims=" %%b in ('dir /ad/b %%a:\found.*') do (
rd /s /q "%%a:\%%b"
)
) >nul 2>nul
for /f "delims=" %%a in ('dir /ad/b "%windir%\$*$" 1^>nul 2^>nul') do (rd /s/q "%windir%\%%a")