Windowns下bat删除含有指定字符的文件夹
2022-04-29 本文已影响0人
_Gaara_
for /f "delims=" %%i in ('dir /s/b/ad *指定字符*') do (
rd /s/q "%%~i"
)
@echo off
echo 按任意键退出....
pause>nul
exit
for /f "delims=" %%i in ('dir /s/b/ad *指定字符*') do (
rd /s/q "%%~i"
)
@echo off
echo 按任意键退出....
pause>nul
exit