ROBOCOPY - /MOV to two destination folders


  1. Posts : 2
    Windows 7 x64
       #1

    ROBOCOPY - /MOV to two destination folders


    Hi there,

    New to the forum, please go easy :)

    I've got a robocopy moving a file using /MOV from one folder to another.

    Is it possible to add a second destination so that the contents of the original folder will be moved to both destination folders? How would the syntax look? (below is current syntax)

    robocopy "\\source path" "\\destination path" /S /E /V /NP /MOV /XD in /R:10 /W:30

    Thanks
      My Computer


  2. Posts : 36
    Windows 7 Enterprise 64bit
       #2

    Hi mate.

    You could do two things:

    1. You can try to use ROBOMOJO to run multiple robocopy jobs
    more info here: Running multiple Robocopy jobs in one batch file

    or

    2. You can run two separate robocopy jobs, with 10 minute interval between them.
    Check this post: One source to multiple destinations with Robocopy

    Hope this helps.
      My Computer


  3. Posts : 2
    Windows 7 x64
    Thread Starter
       #3

    Thanks sandravlado.

    Looks like the first option will do the trick. Just need to remove /MOV from first job on the batch file so it only copies and then the second one copies and deletes original.


    robocopy "\\source path" "\\1st destination path" /NP /R:10 /W:30

    robocopy "\\source path" "\\2nd destination path" /S /E /V /NP /MOV /XD in /R:10 /W:30
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:19.
Find Us