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

标签: ,

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

BOOL PathFileExists(
    __in  LPCTSTR pszPath
);

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

赞赏

微信赞赏支付宝赞赏

随机文章:

  1. VBS加密 & VBE解密
  2. 你可以分配多大的内存?
  3. 用VBS枚举素数(质数)
  4. VBS For Next循环的一些细节
  5. 用C语言实现PHP的base64_encode函数

留下回复