如何使用 vb.net 打开 Windows 磁盘碎片整理程序?
我已经尝试了所有的“谷歌”解决方案,但似乎都没有奏效。
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Process.Start("dfrgui.exe")
End Sub
和...
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Dim sysFolderPath = Environment.GetFolderPath(Environment.SpecialFolder.System)
Process.Start(sysFolderPath + "\dfrgui.exe")
End Sub
和...
Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
Shell("dfrgui.exe")
End Sub