您的位置:首页 > 其它

打开文件夹并定位到指定文件

2014-01-14 09:11 405 查看
string filename = "C://Windows//notepad.exe";
Process.Start("explorer", "/select," + filename);
ProcessStartInfo psi = new ProcessStartInfo("explorer.exe");
string filename = @"C:/Windows/notepad.exe";
psi.Arguments = " /select," + filename;
Process.Start(psi);
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: