C#调用explorer.exe打开指定目录

需求

C# 程序上有一个按钮,点击打开电脑上对应的目录即可。

代码

  //打开帮助文档
 System.Diagnostics.Process.Start("explorer.exe ", Application.StartupPath + "\\docs");

猜你喜欢

转载自blog.csdn.net/lxyoucan/article/details/125990510