Answered by:
using robocopy to copy folder structure only

Question
Answers
-
It looks like the /e /xf * switches are what I want. /e copies empty directories. /xf * tells it to exclude all files.
- Marked as answer by Charles Foxtrot Friday, July 29, 2011 4:59 PM
All replies
-
It looks like the /e /xf * switches are what I want. /e copies empty directories. /xf * tells it to exclude all files.
- Marked as answer by Charles Foxtrot Friday, July 29, 2011 4:59 PM
-
Glad to hear your issue has been solved.
Leo Huang
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. -
-
-
to be more clear...
robocopy only certain folders with directory structure
-
-
Old Post, but I wanted to add:
Use Robocopy but be sure to run CMD as administrator. Once you do that, you have rights as a backup operator (in most cases).
robocopy <source> <destination> /zb /e /xf *
/zb allows you access into the folders that you DON'T have permission to. This will let you pull a complete folder structure even to the folders you haven't been granted permission to so that you don't have to mess with permissions to get this information.