if (Directory.Exists(temp_path) == false)//如果不存
   { 
       //在就创建file文件夹
       Directory.CreateDirectory(temp_path);
   }
if (!System.IO.File.Exists(filename))
   {
     System.IO.File.Create(filename).Close();//创建该文件 
    }

相关文章:

  • 2021-05-17
  • 2021-11-12
  • 2022-01-02
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
相关资源
相似解决方案