CFileFind finder;
BOOL bWorking = finder.FindFile(SearchPath); // SearchPath : "C:\MyFolder\*.*"
while(bWorking)
{
bWorking = finder.FindNextFile();
if(finder.IsDots()) continue;
if(finder.IsDirectory())
{
.....
}

No comments:
Post a Comment