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

标签: ,

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

BOOL PathFileExists(
    __in  LPCTSTR pszPath
);

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

赞赏

微信赞赏支付宝赞赏

随机文章:

  1. VBS实现GB2312转Unicode
  2. 批处理技术内幕:ECHO命令
  3. EditPlus注册码在线生成
  4. VB6拾遗:虚幻的指针
  5. VBS基础教程第四篇

留下回复