By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,851 Members | 1,110 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,851 IT Pros & Developers. It's quick & easy.

Defrag examples anyone?

P: n/a
Anyone got any info or code examples on defragging your hard drives?

Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Jim Hubbard" <re***@groups.please> schrieb:
Anyone got any info or code examples on defragging your hard drives?

Do you want to implement a defragmenting program yourself? Then you are in
the wrong group (C, C++ would be more appropriate). Notice that there are
companies that already have years of experience in writing such
applications.

Or do you want to start Windows' defragmenter? Then you can use 'Shell' or
'System.Diagnostics.Process.Start' to start the "defrag" command line
utility that comes with Windows.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #2

P: n/a

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:e%****************@TK2MSFTNGP10.phx.gbl...
"Jim Hubbard" <re***@groups.please> schrieb:
Anyone got any info or code examples on defragging your hard drives?

Do you want to implement a defragmenting program yourself? Then you are
in
the wrong group (C, C++ would be more appropriate).


Really? No API calls in VB or VB.Net?
Notice that there are
companies that already have years of experience in writing such
applications.
So I gathered from O&O Defrag and Diskkeeper , etc. .
Or do you want to start Windows' defragmenter? Then you can use 'Shell'
or
'System.Diagnostics.Process.Start' to start the "defrag" command line
utility that comes with Windows.


I want to offer a freeware defrag utility to some of my users.

Windows should really upgrade theirs.

We are surrently creating a suite of freeware tools that Windows should have
come with.

Thanks for your interest.

Jim Hubbard
Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.