@echo off for /f "delims=" %%a in ('type "C:\Users\Administrator\Desktop\要复制的文件名.txt"') do ( xcopy "要复制的文件所在的路径\%%a" "目标文件夹路径\" /S ) pause
复制以上代码保存到文本中并修改txt为bat批量复制指定的文件到指定文件夹中