现在的位置: 首页 > 综合 > 正文

定位到文件目录并选定文件

2012年01月26日 ⁄ 综合 ⁄ 共 161字 ⁄ 字号 评论关闭

这里以前写xml模版批量修改工具时用到的。

 

 

Process pro = new Process();
pro.StartInfo.FileName 
= "Explorer.exe";
pro.StartInfo.Arguments 
= "/select," + fileCurrentPath;
pro.Start(); 

 

 

抱歉!评论已关闭.