如题,给个实例最好,谢谢大家了 哈哈

解决方案 »

  1.   

    http://baike.baidu.com/view/1117180.htmAPI a...
      

  2.   

    SHFileOperation
    http://dev.csdn.net/article/67/67330.shtm
      

  3.   

    BOOL CopyFile(
      LPCTSTR lpExistingFileName, // name of an existing file
      LPCTSTR lpNewFileName,      // name of new file
      BOOL bFailIfExists          // operation if file exists
    );
      

  4.   

    自己做个函数
    在里面读取文件夹里的文件
    再一个个copyfile
      

  5.   

    通过以下API的组合, 用递归或队列的方式可以实现
    FindFirstFile
    FindNextFile
      LocalAlloc
      CreateDirectory
      CreateFile
      SetFileAttributes
      ReadFile
      WriteFile
      CloseHandle
      LocalFree
    FindClose
      

  6.   

    用SHFileOperation比较简单点,也可以通过这个实现文件夹(包括子文件夹)的删除