分类

链接

2026 年 2 月
 1
2345678
9101112131415
16171819202122
232425262728  

近期文章

热门标签

新人福利,免费薅羊毛

C#打开文件夹并定位到指定的文件

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);        }   C#打开文件夹并定位到指定的文件

.NET 暂无评论 阅读(574)