CFileFind find; CString path="C:\\TestFile"; if(path.Right(1) != "\\") path += "\\"; path += "*.txt*"; BOOL found = find.FindFile(path); while (found) { found = find.FindNextFile(); // here i need name of file also how to get the name of file if(find.IsDots()) continue; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)