文件查找

1、判断某路径的文件是否存在

BOOL PathFileExists( _In_ LPCTSTR pszPath );
2、CFileFind类

CFileFind finder;

BOOL bWorking = finder.FindFile(_T("*.*"));

 while (bWorking)

  {

     bWorking = finder.FindNextFile();

  }

原文地址:https://www.cnblogs.com/judes/p/6226005.html