Solved

Copying Directories with Robocopy

Posted on 2006-06-28
8
253 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
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Choppy program performance on Windows Server 2012 20 100
Windows 7 home sp1 updates 9 100
IPhone using PC internet 17 67
How to block internet connection for windows7 11 50
We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
Resolve DNS query failed errors for Exchange
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

789 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