以下是一个可以实现将某文件夹内的所有图片递归查询并统一复制到同一文件夹下的 Windows 批处理命令:
@echo off
setlocal enabledelayedexpansionset source_folder=C:\path\to\source\folder
set destination_folder=C:\path\to\destination\folder
for /r "%source_folder%" %%f in (*.jpg *.png *.gif) do (
set "source_file=%%~f"
set "destinati