System.IO.File.Move(path_file1, path_file2)
System.IO.File.Delete(path_file2)//报错,,,该文件正由另一进程使用,因此该进程无法访问该文件
FileInfo fi = new FileInfo(path_file2); fi.Attributes = FileAttributes.Normal; fi.Delete();
111,120
社区成员
642,545
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧