pushd "路径"for /f "tokens=* delims=" %%i in ('dir /s /q /b *.png') do copy "%%i" "D:\新建文件夹"多种扩展名这样。。。pushd "路径" for /f "tokens=* delims=" %%i in ('dir /s /q /b *.png *.jpg *.gif') do copy "%%i" "D:\新建文件夹"