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
本文标题:Windowns下bat删除含有指定字符的文件夹
本文链接:https://www.haomeiwen.com/subject/fgiyyrtx.html
网友评论