CopyDirectory

This is a discussion on CopyDirectory within the Windows Programming forums, part of the Platform Specific Boards category; Hello... I would like of know if the API or the Shell of the windows defines some function that copies ...

  1. #1
    A.I Programmer
    Join Date
    Mar 2007
    Location
    Teresina - Brazil
    Posts
    47

    CopyDirectory

    Hello...

    I would like of know if the API or the Shell of the windows defines some function that copies a directory (folder), its subdirectories and its archives.

    I use Win32 API…

    I appreciate any aid.

    bye

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,484
    copyFile() + use of a tree walker as outlined in the FAQ ?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered Abuser
    Join Date
    Jun 2006
    Location
    Toronto
    Posts
    591
    SHFileOperation. Set wFunc to FO_COPY and use a wildcard in pFrom to copy all contents.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21