如何打开指定文件所在的文件夹并选中文件

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

 

其中filePath是指定文件的完全限定路径。

posted @ 2013-05-04 15:49  Xdoudou  阅读(191)  评论(0编辑  收藏  举报