想尽办法摸鱼 当前离线
列兵
hfxiang 当前在线
上尉
TOP
@echo off @rem 保存为ANSI格式 pushd "D:\A" for /f "delims=" %%a in ('dir/ad/b') do set _%%a=true popd pushd "D:\B" for /f "delims=" %%a in ('dir/ad/b') do if defined _%%a rd /s /q "%%~fa" popd复制代码