打开本地某文件并使之处于选中状态
2013-06-25 16:51
239 查看
public static void BrowserFile(string filepath) { if (File.Exists(filepath) || Directory.Exists(filepath)) { Process.Start(@"explorer.exe", "/select,\"" + filepath + "\""); } }
相关文章推荐
- C#判断本地文件是否处于打开状态的方法
- C# winform中判断文件是否处于打开状态
- AE二次开发中,打开本地shp文件后,出现文件锁定状态,即后缀为 .sr.lock
- vim设置为indent折叠以后,每次打开文件时代码处于折叠状态,能改变吗?
- C#如何判断文件处于打开状态
- JS打开本地文件夹并选中文件jquery
- C#如何判断文件处于打开状态
- C#如何判断文件处于打开状态
- C# AE 打开本地文件
- iOS打开本地和网络上的word、ppt、excel等文件
- WIN7网关问题问题“在释放接口 Loopback Pseudo-Interface 1 时出错: 系统找不到指定的文件。操作失败,没有适配器处于允许此操作的状态”解决方案
- VC打开本地文件对话框
- 用C++打开指定文件夹,并选中文件
- Oracle处于recover状态的数据文件是无法使用exp导出数据的
- 用C#编程从数据库中读取图片数据导进Excel文件的方法(如何从数据库中读取保存的文件,直接打开,中间不保存到本地)
- Win10下文件资源管理器选中文件(夹)没有出现"选中状态"的终结解决方案
- C++打开指定文件夹,并选中文件
- EXT客户端panel上次打开时的状态(本地保存列隐藏、顺序、列宽、窗口大小)
- Qt打开指定目录并选中指定文件
- 贴一段用javascript打开和保存本地文件的源码