Can somebody tell me how to call Windows Hard Disk Defragmenter in VB.Net
on Button Click. Any help is greatly appreciated.
sonia sardana -13 Posting Whiz
Recommended Answers
Jump to Post— Comatose 290Call "c:\windows\system32\dfrg.msc" with shell or system processes or wsh.run or shellexecute.
Jump to Post— Ramy Mahrous 401What do you need exactly is to run windows defragment application or you defragment the hard yourself?
All 6 Replies
Comatose 290 Taboo Programmer Team Colleague
Ramy Mahrous commented: That's the perfect answer! +6
Ramy Mahrous 401 Postaholic Featured Poster
Ramy Mahrous 401 Postaholic Featured Poster
pande 0 Newbie Poster
kvprajapati 1,826 Posting Genius Team Colleague
pritesh2010 30 Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.