PC Review


Reply
Thread Tools Rate Thread

How to copy a whole directory tree WITHOUT content (=files)?

 
 
Eugen Austermann
Guest
Posts: n/a
 
      4th Mar 2008
I want to copy a whole directory tree but WITHOUT the content (=files).

How can I do this?

Eugen

 
Reply With Quote
 
 
 
 
RajKohli
Guest
Posts: n/a
 
      5th Mar 2008
Assuming that you have a folder tree like:

C:\SAMPLE> and subfolders including files like
TEST1>
TEST2>
Sample 2>
Sample 3>
TEST3>

and you want to copy only the directory structure except files.

1. Click Start - Run - type CMD and press Enter key.
2. At Command Prompt type the following command (as an example

XCOPY C:\SAMPLE D:\SAMPLE /T /E

/T - Copy Directory and Subdirectories except files
/E - Includes the empty directories as well.

Suppose, if you want to copy the SAMPLE folder on the same C drive with a
new name then you can use:

XCOPY C:\SAMPLE C:\SAM /T /E

Hope this help, let us know!


"Eugen Austermann" wrote:

> I want to copy a whole directory tree but WITHOUT the content (=files).
>
> How can I do this?
>
> Eugen
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to copy a whole directory tree WITHOUT content (=files)? Eugen Austermann Windows XP Help 11 5th Mar 2008 03:05 AM
Copy To & Move To Directory Tree Disappeared =?Utf-8?B?amNhdWRsZQ==?= Windows XP General 6 17th Jul 2006 03:19 PM
Copying a directory tree (but only necessary files) ? Mbene Ovambo Microsoft Windows 2000 0 29th Mar 2005 02:45 PM
Copying a directory tree (but only necessary files) ? Mbene Ovambo Windows XP General 0 29th Mar 2005 02:45 PM
Howto copy content files to build directory dansan Microsoft Dot NET Framework 4 6th Oct 2003 03:59 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:04 PM.