C#如何打开选中的文件夹并指向选中的文件

来源:互联网 发布:事件视界 知乎 编辑:程序博客网 时间:2024/05/29 10:35

打开选中的文件夹

System.Diagnostics.Process.Start("explorer.exe", filePath);

打开选中的文件夹并指向选中的文件

System.Diagnostics.Process.Start("explorer.exe", "/select," + filePath);