Using robocopy ID:41744943

camtz
camtz used Ask the Experts™
on
Hi, I would like for P. Sisk to help me with this please.  I thought I had followed your instructions correctly but apparently I didn't.  What I am trying to do is transfer a folder that is in Drive F called movie clips F to a folder which is in Drive G called movie clips G.  I believe it has something to do with the way the command line starts out before I start typing but am not sure.Pic-1.JPG  Is that the problem, or is there another issue?  Please look at Pic 1, Thanks.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016
Commented:
because both paths contain spaces you have to enclose them in quotation marks
robocopy "f:\movie clips" "g:\movie clips" /s /e

you could have posted the text into a code block rather than using a picture

Author

Commented:
Thanks, I will try it.  I don't know what a "code block" is.
NVITEnd-user support
Commented:
More specifically:
robocopy "f:\movie clips f" "g:\movie clips g" /s /mir

Open in new window


A "code block" is when you write your code in the Write Comment then select it and pick the CODE icon, like I did to my code in this comment.
Expert Spotlight: Joe Anderson (DatabaseMX)

We’ve posted a new Expert Spotlight!  Joe Anderson (DatabaseMX) has been on Experts Exchange since 2006. Learn more about this database architect, guitar aficionado, and Microsoft MVP.

Top Expert 2013

Commented:
or just rename both folders to movieclips - without space..

Author

Commented:
Thanks for that.  Worked out fine.  Could you just explain what the /s /mir mean?
Top Expert 2013
Commented:
/mir
 
Mirrors a directory tree (equivalent to /e plus /purge). For additional information, see Remarks.


see for all options : https://technet.microsoft.com/en-us/library/cc733145(v=ws.11).aspx

Author

Commented:
Many thanks to all

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial