【发布时间】:2012-10-01 06:08:17
【问题描述】:
我想使用 Visual Studio 2010 C# .Net 在 Windows 7 中打开磁盘碎片整理程序窗口。
我使用这个代码:
Process.Start("dfrgui"); // 'dfrgui' is used to open disk defragment window in Windows 7
但窗口没有出现。
但我在 Windows XP 中使用
Process.Start("dfrg.msc");
这里确实出现了窗口。
在 Windows 7 中还有其他方法可以调用碎片整理程序吗?
【问题讨论】:
标签: c# .net desktop-application