|
CFileFind finder;
BOOL bWorking = finder.FindFile(zipPath + _T("\\*.*"));
while(bWorking)
{
bWorking = finder.FindNextFile();
CString strPath = finder.GetFilePath();
if(finder.IsDirectory() && !finder.IsDots())
{
// 文件夹递归调用
}
else if(!finder.IsDirectory() && !finder.IsDots())
{
// 文件处理
}
}
|
|