string folderPath = strDir + "\\PDF";//定义要创建文件夹的目录
if (0 != access(folderPath.c_str(), 0))//判断文件夹是否存在 { mkdir(folderPath.c_str());//创建文件夹 }