locked
Combining three Robocopy commands into one RRS feed

  • Question

  • I would like to combine all three robocopy commands into one. <o:p></o:p>

    c:\windows\system32\robocopy.exe \\Source1 \\destination1*.*/mov /w:1 /r:1

    c:\windows\system32\robocopy.exe \\Source2 \\destination2*.* /mov /w:1 /r:1

    c:\windows\system32\robocopy.exe \\Source3 \\destination3*.* /mov /w:1 /r:1<o:p></o:p>

    Can someone tell me, if it possible or not. if yes, what will be that single Robocopy command.

    Thanks in advance

    Tuesday, September 9, 2014 10:23 PM

Answers

  • If you have three different source and destination directories, you will need three separate commands.

    -- Bill Stewart [Bill_Stewart]

    • Marked as answer by mkhan100 Wednesday, September 10, 2014 4:41 AM
    Tuesday, September 9, 2014 10:34 PM