[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 274
  • Last Modified:

Copying Directories with Robocopy

Hi

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

Jason
0
Jason210
Asked:
Jason210
  • 4
  • 3
2 Solutions
 
Jay_Jay70Commented:
http://www.ss64.com/nt/robocopyXP.html

thats all there is to know!
0
 
Jay_Jay70Commented:
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
 
Jason210Author Commented:
Is it possible to copy just the folders and not the contents?
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
Jay_Jay70Commented:
you mean just the folder structure? not that i know how to do.....robocopy copies everything
0
 
oBdACommented:
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
 
Jason210Author Commented:
thanks
0
 
Jason210Author Commented:
Thanks. That works fine. I missed that Xf setting. The /L is also useful.
0
 
Jason210Author Commented:
oBdA - any chance you can shed some light on this:

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

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now