CFileFind
-
I am doing a search for a particular directory (1). If the directory is found then I am going to the last sub directory of 1. Then I am listing all the files in these directory. Pls kindly help me in this respect. CFileFind l_fileFind; //Find the root directory bool l_bool = l_fileFind.FindFile(_T("D:\\Epson\\CPS")); while(l_bool) { l_bool = l_fileFind.FindNextFile(); if (l_fileFind.IsDirectory()) { //List all the files } }
-
I am doing a search for a particular directory (1). If the directory is found then I am going to the last sub directory of 1. Then I am listing all the files in these directory. Pls kindly help me in this respect. CFileFind l_fileFind; //Find the root directory bool l_bool = l_fileFind.FindFile(_T("D:\\Epson\\CPS")); while(l_bool) { l_bool = l_fileFind.FindNextFile(); if (l_fileFind.IsDirectory()) { //List all the files } }