Solved

Copying Directories with Robocopy

Posted on 2006-06-28
8
237 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
 
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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
Are you one of those front-line IT Service Desk staff fielding calls, replying to emails, all-the-while working to resolve end-user technological nightmares? I am! That's why I have put together this brief overview of tools and techniques I use in o…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now