如何用c#打开文件夹并选择文件夹内的一个文件 open folder and select file

如何用c#打开文件夹并选择文件夹内的一个文件 open folder and select file:

在运行中可以输入“Explorer /select,D:\somefile.txt”达到打开文件夹并选择文件夹内的一个文件的目的,知道这个在程序中处理就很简单了. 

private void OpenFolderAndSelectFile(string filePath) {
    System.Diagnostics.Process.Start("Explorer", "/select," + filePath);
}
原文地址:https://www.cnblogs.com/yukaizhao/p/open_folder_and_select_file.html