C++ 递归创建目录
2014-07-29 22:39
211 查看
<pre name="code" class="cpp">#include <shlobj.h> #pragma comment("shell32.lib")
string strPath("F:/a\\a/a"); string::size_type pos; while ((pos = strPath.find("/")) != string::npos) { strPath = strPath.replace(pos, 1, "\\"); } SHCreateDirectoryEx(NULL, strPath.c_str(), NULL);
相关文章推荐
- C++递归创建多级目录
- PHP递归创建目录函数
- vb.net中创建指定目录 递归创建
- [转]C# 文件操作 全收录 追加、拷贝、删除、移动文件、创建目录、递归删除文件夹及文件....
- 【转载】C# 文件操作 全收录 追加、拷贝、删除、移动文件、创建目录、递归删除文件夹及文件....
- C# 文件操作 全收录 追加、拷贝、删除、移动文件、创建目录、递归删除文件夹及文件....
- 刚才写的一个vbscript创建目录的方法 该方法可一次创建多层目录 不使用递归
- 递归创建目录
- 转:C# 文件操作 全收录 追加、拷贝、删除、移动文件、创建目录、递归删除文件夹及文件
- nodejs: mkdirs 递归创建目录
- C# 文件操作 全收录 追加、拷贝、删除、移动文件、创建目录、递归删除文件夹及文件
- C++ 创建多级目录
- linux c mkdir创建递归目录
- C++ 如何获取目录下面的文件/文件的创建时间
- C# 文件操作 全收录 追加、拷贝、删除、移动文件、创建目录、递归删除文件夹及文件转http://www.cnblogs.com/zhuzhiyuan/archive/2011/04/22/2024485.html
- php mk_dir 递归 无限级 创建 目录
- 递归创建多级目录
- shell递归创建目录和文件
- C# 文件操作 全收录 追加、拷贝、删除、移动文件、创建目录、递归删除文件夹及文件....
- C# 文件操作 全收录 追加、拷贝、删除、移动文件、创建目录、递归删除文件夹及文件....