Solved

Copying Directories with Robocopy

Posted on 2006-06-28
8
247 Views
Last Modified: 2010-03-18
Hi

How copy a group of directories (in the root) using robocopy? Can't see to get it work.

Jason
0
Comment
Question by:Jason210
  • 4
  • 3
8 Comments
 
LVL 48

Assisted Solution

by:Jay_Jay70
Jay_Jay70 earned 150 total points
ID: 17000140
http://www.ss64.com/nt/robocopyXP.html

thats all there is to know!
0
 
LVL 48

Expert Comment

by:Jay_Jay70
ID: 17000144
numerous ways but as i am on my way to bed ill post this, if it doesnt help let me know and ill post one tomorrow
http://www.experts-exchange.com/Operating_Systems/WinXP/Q_21419377.html?query=drive+map+script&clearTAFilter=true
0
 
LVL 11

Author Comment

by:Jason210
ID: 17000170
Is it possible to copy just the folders and not the contents?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 48

Expert Comment

by:Jay_Jay70
ID: 17000261
you mean just the folder structure? not that i know how to do.....robocopy copies everything
0
 
LVL 83

Accepted Solution

by:
oBdA earned 150 total points
ID: 17000356
That should be possible using
robocopy <SourceDir> <TargetDir> /xf *.* /e
Another option that might be of interest in this context is /create, which will only create the folder and file structure, but will not copy any contents.
And then there's /L, which will only list the files to be copied, without actually copying anything; nice for tests.
Have a look at robocopy.doc in the installation folder for details.
0
 
LVL 11

Author Comment

by:Jason210
ID: 17000757
thanks
0
 
LVL 11

Author Comment

by:Jason210
ID: 17000924
Thanks. That works fine. I missed that Xf setting. The /L is also useful.
0
 
LVL 11

Author Comment

by:Jason210
ID: 17009553
oBdA - any chance you can shed some light on this:

http://www.experts-exchange.com/Networking/Microsoft_Network/Q_21903279.html
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Downtime reduced, data recovered by utilizing an Experts Exchange Business Account Challenge The United States Marine Corps employs more than 200,000 active-duty Marines with operations in four continents, all requiring complex networking system…
An article on effective troubleshooting

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question