batch file Copy files with certain extensions from multiple directories into one directory

后端 未结 5 1395
别那么骄傲
别那么骄傲 2020-11-30 19:33

I\'m a newbie, so bear with me...

I am trying to copy all .doc files that I have scattered throughout several subdirectories of one main directory into

5条回答
  •  南方客
    南方客 (楼主)
    2020-11-30 20:25

    Just use the XCOPY command with recursive option

    xcopy c:\*.doc k:\mybackup /sy
    

    /s will make it "recursive"

提交回复
热议问题