System.Diagnostics.Process.Start("NOTEPAD", linkLabel1.Text);//用记事本打开文件
System.Diagnostics.Process.Start("Explorer.exe", "/open,\"" + linkLabel2.Text + "\"");//open:打开目录 select:定位并选定文件夹
C# 打开文件与文件夹
最新推荐文章于 2024-05-08 23:52:14 发布
System.Diagnostics.Process.Start("NOTEPAD", linkLabel1.Text);//用记事本打开文件
System.Diagnostics.Process.Start("Explorer.exe", "/open,\"" + linkLabel2.Text + "\"");//open:打开目录 select:定位并选定文件夹