string subPath = "A:" + "//" + DateTime.Now.ToString("yyyyMMdd") + "//" + "123";//存放jpg图片
if (System.IO.Directory.Exists(subPath) == false)
{
//创建pic文件夹
System.IO.Directory.CreateDirectory(subPath);
}
C# 创建文件夹
最新推荐文章于 2023-11-27 10:11:03 发布