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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Copy an Entire Subdirectory 1

Status
Not open for further replies.

Kalisto

Programmer
Joined
Feb 18, 2003
Messages
997
Location
GB
Whats the most efficient way to copy an entire subdirectory to a new place?

The application I am involved with may have several hundred text files in a complicated tree structure. I would rather avoid creating a new folder structure in the archive path, and then creating each file individually if I can.

K
 
system( "xcopy /s /y sourceDir destDir" );
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top