用文本编辑器打开文本文件

 

        private void openTXTFile(string fileName)
        {
            try
            {
                Process.Start("notepad.exe", "当前程序根目录下某目录/"+fileName);
            }
            catch (Exception ex)
            {
                
} }

 


 
                    
            
                

相关文章:

  • 2021-10-10
猜你喜欢
  • 2022-12-23
  • 2021-10-15
  • 2021-07-19
  • 2021-12-03
  • 2022-12-23
  • 2021-12-03
相关资源
相似解决方案