
string dict = @"d:\估价报告\";
if (!Directory.Exists(dict))
{
Directory.CreateDirectory(dict); //创建文件夹
}
string subFolder = "subfolder";
string pathString = System.IO.Path.Combine(dict, subFolder);
if (!System.IO.File.Exists(pathString))
{
Directory.CreateDirectory(pathString); //创建子文件夹
}