请问C#中如何打开一个指定的文件夹?
来源:百度知道 编辑:UC知道 时间:2024/06/04 11:09:38
例如单击一个按钮就打开D:\Program Files
Click事件里写
string path = @"D:\Program Files";
System.Diagnostics.Process.Start("explorer.exe", path);
就可以了, 调用explorer资源管理器打开吧?
windows窗口当然要调系统的东西了~`
UC知道是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度知道 编辑:UC知道 时间:2024/06/04 11:09:38
Click事件里写
string path = @"D:\Program Files";
System.Diagnostics.Process.Start("explorer.exe", path);
就可以了, 调用explorer资源管理器打开吧?
windows窗口当然要调系统的东西了~`