摘要:
一、判断文件或者文件夹是否存在。if (!PathFileExists(csFilePath)){::CreateDirectory(csFilePath, NULL);}二、打开windows类型对话框static TCHAR strDirName[MAX_PATH];BROWSEINFO bi;CString szString = TEXT("选择一个文件夹");bi.hwndOwner = ::GetFocus();bi.pidlRoot = NULL;bi.pszDisplayName = strDirName;bi.lpszTitle = szString;bi. 阅读全文