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

标签: ,

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

BOOL PathFileExists(
    __in  LPCTSTR pszPath
);

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

赞赏

微信赞赏支付宝赞赏

随机文章:

  1. 48行计算24点C语言代码
  2. BAT批处理编辑器iBat
  3. 我为什么不用JScript?
  4. 批处理技术内幕:序
  5. 用VBS实现Shuffle洗牌算法

留下回复