wantfei
我用下面的代码对一批文件的后缀进行改名。但就是没用,急呀!
String pathName , newExtention;
   try
   {
    foreach(FileInfo fileInfo in fileInfoList)
    {
     pathName =fileInfo.FullName;
     newExtention = "." +  newSuffix.Text;
     System.IO.Path.ChangeExtension( pathName ,newExtention);   
    }
   }
   catch(IOException ioExpecption){
    Console.WriteLine("The process failed: {0}", ioExpecption.ToString());
   }

请各位同仁赐教!
谢谢

分类:

技术点:

相关文章:

  • 2021-12-23
  • 2021-09-26
  • 2021-12-10
  • 2021-09-30
  • 2021-11-16
  • 2021-11-16
  • 2021-11-16
猜你喜欢
  • 2021-10-13
  • 2021-06-11
  • 2021-08-05
  • 2021-12-23
  • 2021-10-16
  • 2021-08-14
相关资源
相似解决方案