C#打开文件所在的文件夹

来源:互联网 发布:淘宝网集市给我打电话 编辑:程序博客网 时间:2024/04/29 21:33

              string filePath = dgvRecord.SelectedRows[0].Cells[3].Value.ToString();
                Process open = new Process();
                open.StartInfo.FileName = "explorer";
                open.StartInfo.Arguments = @"/select," + filePath;
                open.Start();

 

转载 http://www.cnblogs.com/illusion/archive/2011/04/16/2017890.html

 

 

原创粉丝点击