Solved

Copying Directories with Robocopy

Posted on 2006-06-28
8
256 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
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!

 
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 84

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

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

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

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
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 …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

749 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