@echo offfor /f "delims=" %%a in ('dir /ad /b /s d:\') do (pushd %%aif exist 图1.jpg (for /f %%b in ("%%~nxa") do 早碧copy 图1.jpg E:\图片扮睁启厅如\%%~b.jpg)popd )