您的位置:首页 > 其它

打开本地某文件并使之处于选中状态

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 + "\"");
}
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: