// 判断是否存在文件
BOOL pathIsFile(TCHAR* lpPath)
{
    // 过滤路径是文件夹的情况
  // Code by Lthis
if (PathIsDirectory(lpPath)) return FALSE; if (PathFileExists(lpPath)) return TRUE; return FALSE; }

 

相关文章: