Windows batch copy files from subfolders to one folder

前端 未结 4 528
庸人自扰
庸人自扰 2021-02-04 06:45

I had tried to make batch script that copies all *.tif files located in D:\\images(random named subfolders here) to d:\\all.

xcopy D:\\Downloads\\*.TIF D:\\temp\         


        
4条回答
  •  醉梦人生
    2021-02-04 07:01

    Searched files using windows file explorer for e.g. *.gif , I got files in search window, used Edit=>Select All , copy and then pasted to desired folder. This copied all the gif files in all sub directories to single folder. For large number of files, it sometimes hangs/not responding, but otherwise works ok.

提交回复
热议问题