System.Diagnostics.Process.Start(“Notepad++.exe”, FilePath);
或者
System.Diagnostics.Process.Start(“C:\Program Files (x86)\Notepad++\notepad++.exe”, FilePath);
C# 使用指定程序打开某文件
最新推荐文章于 2024-04-19 20:23:36 发布
System.Diagnostics.Process.Start(“Notepad++.exe”, FilePath);
或者
System.Diagnostics.Process.Start(“C:\Program Files (x86)\Notepad++\notepad++.exe”, FilePath);