CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2007
    Posts
    119

    Question Copy only sub directories through XCopy

    Hi,
    I want to copy only sub directories of a directory to another directory through "XCopy", is it possible.


    Best Regards,
    Mushq

  2. #2
    Join Date
    Dec 2001
    Location
    Greece, Athens
    Posts
    1,015

    Re: Copy only sub directories through XCopy

    Theodore
    Personal Web Page (some audio segmentation tools): www.di.uoa.gr/~tyiannak

  3. #3
    Join Date
    May 2002
    Posts
    10,943

    Re: Copy only sub directories through XCopy

    Not directly. You can copy the whole using the /e parameter. Then after the copy command has executed you can del *.* from the root folder.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  4. #4
    Join Date
    Feb 2007
    Posts
    119

    Re: Copy only sub directories through XCopy

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured