日期:2014-05-17 浏览次数:20808 次
public void PositionFile(string sFileFullName) { if (!System.IO.File.Exists(sFileFullName)) return; System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo("Explorer.exe"); //string file = @"c:/windows/notepad.exe"; psi.Arguments = " /select," + sFileFullName; System.Diagnostics.Process.Start(psi); }