Windows batch command to move all folders in a directory with exceptions

后端 未结 7 2595
故里飘歌
故里飘歌 2021-02-19 18:03

I am trying to write a Windows Batch file that will allow me to move all directories within a given source directory into a target directory that exists within that source direc

7条回答
  •  不思量自难忘°
    2021-02-19 18:55

    NB: Robocopy mentioned above using the /move flag will copy the files and then delete them from the source folder rather than moving the files. This may be critical if moving large numbers of files from one location to another on the same disk (because move is virtually instantaneous, while copying is a much slower operation)

提交回复
热议问题