PathFileExists函数,判断路径文件是否存在

标签: ,

PathFileExists函数判断文件系统中的文件或者文件夹是否存在。

BOOL PathFileExists(
    __in  LPCTSTR pszPath
);

pszPath为指向需要测试路径的字符串指针,如果路径存在PathFileExists函数返回TRUE,否则返回FALSE。

赞赏

微信赞赏支付宝赞赏

随机文章:

  1. VBS打开选择文件对话框(Windows 7)
  2. Raspberry Pi树莓派新系统SSH连接被拒绝的解决方法
  3. 在Windows下编译zlib 1.25
  4. 你可以分配多大的内存?
  5. Unable to find the socket transport "ssl" – did you forget to enable it when you configured PHP?

留下回复