21ewqsxx 发表于 2015-7-14 08:30:01

dos 批量copy文件

#rem 列出子目录文件绝对路径名到aa.txt
dir "E:\IBM\BB\" /b /s >aa.txt
循环读取文件并copy到指定目录
for /f "delims=" %%i in (aa.txt) do copy "%%i" E:\IBM\BB\
pause

页: [1]
查看完整版本: dos 批量copy文件