Thread: Copy Folder?

  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    1

    Copy Folder?

    Is there any way in VC++, which dumps a folder with contents into a target path (like CopyFile method)?
    Thanks.

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    I don't know of any Win32 API function that handles this, you could write a recursive directory traverse and copy as described in the FAQ.
    My best code is written with the delete key.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Reading .dat files from a folder in current directory...
    By porsche911nfs in forum C++ Programming
    Replies: 7
    Last Post: 04-04-2009, 09:52 PM
  2. Folder copy
    By Salibea in forum C++ Programming
    Replies: 5
    Last Post: 08-15-2005, 05:28 AM
  3. function to copy file from one folder to another
    By Harman in forum C Programming
    Replies: 7
    Last Post: 05-15-2005, 11:39 AM
  4. dynamic memory alloccation & returning objects
    By haditya in forum C++ Programming
    Replies: 8
    Last Post: 04-21-2005, 11:55 PM
  5. Copy Constructor Help
    By Jubba in forum C++ Programming
    Replies: 2
    Last Post: 11-07-2001, 11:15 AM