Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy just folders but none of the files?! 1

Status
Not open for further replies.

Cstorms

IS-IT--Management
Sep 29, 2006
556
US
Hi there, I was curious if you could help me find a way to get the folders copied from one directory to the other. I dont need any of the data but it just a replica of the folder structure. I looked at robocopy but didnt see any of the switches that would help in this regard. Is there a simple solution?

Cory
 
Code:
xcopy <source> <destination> /T /E /O
This code will copy only the directory structure (including empty subdirectories) and maintain permissions.

I hate all Uppercase... I don't want my groups to seem angry at me all the time! =)
- ColdFlame (vbscript forum)
 
thank you very much for that :) that should work fine!

Cory
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top