How copy folder structure only?

  • Thread starter Thread starter George
  • Start date Start date
G

George

Am using a PC with WinXPpro, is there a way to "copy" a folder structure
without the files?

For instance, suppose I have something like this, even though this example
is much smaller than the multi-folder arrangement on his PC that I need to
copy...

MyDocs/2005
/Letters/(files here)
/Spreadsheets/(files here)
/Graphics/(files here)

I want to copy the folders and just rename it so I end up with...

MyDocs/2006
/Letters/(no files here)
/Spreadsheets/(no files here)
/Graphics/(no files here)

Sure, I could use the method of just "copy" it (and it would bring over all
the files)...then just delete them all out of the copied version...but
wouldn't that be a lot of work and take a while since there are 1000's of
files?

Thanks for any ideas,
George
 
George said:
Am using a PC with WinXPpro, is there a way to "copy" a folder structure
without the files?

For instance, suppose I have something like this, even though this example
is much smaller than the multi-folder arrangement on his PC that I need to
copy...

MyDocs/2005
/Letters/(files here)
/Spreadsheets/(files here)
/Graphics/(files here)

I want to copy the folders and just rename it so I end up with...

MyDocs/2006
/Letters/(no files here)
/Spreadsheets/(no files here)
/Graphics/(no files here)

Sure, I could use the method of just "copy" it (and it would bring over
all
the files)...then just delete them all out of the copied version...but
wouldn't that be a lot of work and take a while since there are 1000's of
files?

Thanks for any ideas,
George

Yes.

First get to "DOS"
Start>Run> enter "CMD" and press OK
OR
Start>Programs>Accessories>Command Prompt

then type the command

XCOPY /t /e /i "\MyDocs\2005" "\MyDocs\2006"

which will create an empty tree the same as ...2005 as ...2006

NOTE: slash ("/") is used to signify a SWITCH to a program
backslash (or slosh "\") indicates a directory (folder) separator

To exit the evil black screen, type

EXIT

HTH

....Bill
 
Back
Top