Can somebody tell me how to call Windows Hard Disk Defragmenter in VB.Net
on Button Click. Any help is greatly appreciated.
Call "c:\windows\system32\dfrg.msc" with shell or system processes or wsh.run or shellexecute.
What do you need exactly is to run windows defragment application or you defragment the hard yourself?
That's tres right (Y), Comatose :)
please give me complate program in VB 6, about defragment file program
even you can call the disk fragment like this on button click event
Dim p As New System.Diagnostics.Process p.StartInfo.FileName = "dfrg.msc" p.Start()