You can try xcopy. I don't know how to do it with robocopy. Using the /L option is good for previewing what might happen. Incomplete information on xcopy follows:

XCOPY
...
Syntax
XCOPY /source/ [/destination/] [/options/]
...
/E Copy folders and subfolders, including Empty folders.
May be used to modify /T.
...
/L List only - Display files that would be copied.
...
///T Create folder structure, but do not copy files. Do not
include empty folders or subfolders.
/T /E will include empty folders and subfolders.
...

Fred Holmes wrote:
Is there a process for copying a tree of folders without copying the files that are in those folders?

I have a "2008" folder containing a large tree of folders with 2008 data in various categories. I want to create a "2009" folder (easily done), and then copy the folder tree, without data files, from the 2008 folder to the 2009 folder. Yes, I can copy everything (wasteful), but then the process of deleting all of the data files from the destination tree is a tedious one (unless, perhaps, there is an automated process for doing that, but only as a last resort).

Many thanks for any help.

Fred Holmes


*************************************************************************
**  List info, subscription management, list rules, archives, privacy  **
**  policy, calmness, a member map, and more at http://www.cguys.org/  **
*************************************************************************

Reply via email to