How to copy files from folder tree dropping all the folders with Robocopy?

后端 未结 3 1316
-上瘾入骨i
-上瘾入骨i 2020-12-08 19:28

I have the following folder structure:

FolderA
--Folder1
--Folder2
--Folder3
...
--Folder99

Folders 1 through 99 have files in them.

3条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-08 19:55

    Robocopy is a great tool... when you have a job it can handle. Why not use xcopy?

    If you have two drives you can just use xcopy:

    XCOPY  C:\*.*  D:\NewFolder\   /S
    

    Or use XXCOPY for one drive:

    XXCOPY C:\*.*  C:\NewFolder\   /S /CCY
    

    XXCOPY

提交回复
热议问题