Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: ROBOCOPY - /MOV to two destination folders

15 Jan 2015   #1
robocopy

Windows 7 x64
 
 
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 System SpecsSystem Spec
.
15 Jan 2015   #2
sandravlado

Windows 7 Enterprise 64bit
 
 

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 System SpecsSystem Spec
15 Jan 2015   #3
robocopy

Windows 7 x64
 
 

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 System SpecsSystem Spec
.

Reply

 ROBOCOPY - /MOV to two destination folders




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Migrated a share with robocopy Destination ends up being read only
I'm trying to migrate a share from a old fileserver to a windows server 2008. I use robocopy to copy and it seems like it copies the permissions and all of the data. I have done this at least 5 times (i checked the permissions and everything looks the same as the source share) The problem is That...
General Discussion
Robocopy copying folders from the wrong place
I've set up a back up batch file to copy my Documents, Pictures, Music, and Videos folders from my computer to an external hard drive. However, while running the Documents backup, it seems to find, the pictures, music, and videos folders all inside the documents folders labelled "My Music", etc. ...
General Discussion
Robocopy - Copying Folders With Spaces in The Title.
Hey guys, This may sound like a really silly question, but I'm just getting to grips with using Robocopy. How do you copy folders with spaces in the title? E.g: T:\Admin Tools I keep getting an error. Any help would be great thanks.
Backup and Restore
robocopy skipping folders (moving c:\users)
Hey there, I'm attempting to use the guide posted on lifehacker to move the users folder to a different drive as W7 is installed on a rather small SSD. The guide is here: Move the Users Directory in Windows 7 I followed the directions to the letter, except of course, when it came to...
General Discussion
Robocopy backup for personal folders
I have created a batch file for copying my Documents folder to an external hard drive: The log file shows that it is backing up C:\users\USERNAME\documents\My Music and C:\users\USERNAME\documents\My Pictures. That's fine, because I want those backed up anyway, but when I go to...
Backup and Restore
Robocopy - adding attributes to specific folders
I've had some issues with mirroring my root directory to a backup folder on my netbook in that the backup folder becomes hidden and a system file after Robocopy has run (note the backup folder existed beforehand). To stop this happening i believe i can include the switch /A-:SH which would remove...
General Discussion


Our Sites

Site Links

About Us

Find 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 16:08.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App