16,472
社区成员
发帖
与我相关
我的任务
分享
BOOL b = CreateDirectory(_T(".../abc/"), NULL);
if (!b && (GetLastError() == ERROR_ALREADY_EXISTS))
{
// 存在
}
#include <shlwapi.h>
#pragma comment(lib,"shlwapi.lib")
BOOL b = PathFileExists(_T(".../abc/"));
if (b)
{
}