class Program { static void Main(string[] args) { string file=@"E:\readme.txt"; try { File.SetAttributes(file, FileAttributes.Normal); File.Delete(file); } catch (Exception exp) { Console.WriteLine(exp.Message); } Console.ReadLine(); } }

相关文章:

  • 2021-05-25
  • 2021-10-27
  • 2021-08-25
  • 2022-12-23
  • 2021-06-15
  • 2022-12-23
  • 2021-10-08
  • 2022-02-10
猜你喜欢
  • 2021-09-27
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
  • 2021-09-22
  • 2022-01-15
  • 2021-11-06
相关资源
相似解决方案