Solved

Copy Folder names and not the contents

Posted on 2008-06-25
2
1,700 Views
Last Modified: 2012-06-22
Hi all,

I have a folder on a server that has a couple hundred subfolders in it, with files in those subfolders.

Now i want to create another folder but with the same subfolders in it - BUT WITHOUT the files.

I dont want to retype all the folder names - is there a way to copy the structure only??

Thanks
Sean
0
Comment
Question by:SeanNij
2 Comments
 
LVL 65

Accepted Solution

by:
SheharyaarSaahil earned 500 total points
ID: 21864124
0
 
LVL 3

Expert Comment

by:ofkr
ID: 21864157
Try it this command from command prompt :

c:\> xcopy /E /T "C:\test\fold1" "C:\test\fold2"

fold1 : your existing folder
fold2 : your new folder to be created.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question