Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Copying Directories with Robocopy

Posted on 2006-06-28
8
Medium Priority
?
266 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 600 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
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 85

Accepted Solution

by:
oBdA earned 600 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The Need In an Active Directory enviroment, the PDC emulator provide time synchronization for the domain. This is important since Active Directory uses Kerberos for authentication.  By default, if the time difference between systems is off by more …
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

782 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