zcc1414

博客园 首页 联系 订阅 管理
PathFileExists
Determines whether a path to a file system object such as a file or directory is valid. 


BOOL PathFileExists(
    LPCTSTR pszPath
    );


检查目录是否存在的一个函数

#include <shlwapi.h>
#pragma comment(lib,"Shlwapi.lib")

或者


posted on 2013-12-22 21:26  zcc1414  阅读(358)  评论(0编辑  收藏  举报