C#中另开进程打开文件夹并选中制定文件的操作

打开文件夹:System.Diagnostics.Process.Start(FilePath);

打开文件夹中某个文件:System.Diagnostics.Process.Start(FilePath+"/"+FileName);

打开文件夹并选中单个文件:System.Diagnostics.Process.Start("Explorer", "/select,"+ FilePath+"\\"+FileName);

posted @ 2011-11-14 17:32  Cad人生  阅读(465)  评论(0编辑  收藏  举报