AnsiString dirPath = "C:\\toufa"
if (!DirectoryExists(dirPath))
{
CreateDir(dirPath);//文件夹不存在则创建
}
ForceDirectories("C:\\hei\\se\\tou\\fa");//创建多级目录
黑色头发:http://heisetoufa.iteye.com/
AnsiString dirPath = "C:\\toufa"
if (!DirectoryExists(dirPath))
{
CreateDir(dirPath);//文件夹不存在则创建
}
ForceDirectories("C:\\hei\\se\\tou\\fa");//创建多级目录
代码】python 创建多级文件夹、创建文件。
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M