#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