473,385 Members | 1,769 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Defrag examples anyone?

Anyone got any info or code examples on defragging your hard drives?

Nov 21 '05 #1
2 1842
"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

"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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Jim Hubbard | last post by:
Anyone got any info or code examples on defragging your hard drives?
2
by: csomberg | last post by:
SQL 2000 We took SQL Server offline last night and defragged the SAN. Should we reindex or will be be okay ? Thanks, Craig
0
by: Isaac | last post by:
You can perform a defrag by moving tablespaces. Is there a generic script that I can use to run after hours?
1
by: iwdu15 | last post by:
hi, i was wondering if anyone could help me or show some sample code to run disk defrag and handle the error if theres less than 15% free space...ive tried but i cant seem to get it to start to...
2
by: jaeden99 | last post by:
I have found a vbscript on the internet that I would like to add some additional info to: See below. I want to be able to get and save the computer name to each defrag log on a specified server...
5
devonknows
by: devonknows | last post by:
Good afternoon, if anyone can help me with this i would be most appreciative Im looking for a way to invoke the Defrag through visual basic, the defrag part i can do but i want to be able to...
4
by: =?Utf-8?B?TG95ZCBDb3VudHM=?= | last post by:
My defrag stoped on windaws Visea Home. I have tried everything I know and it just wont work. I tried it in TOOLS and in MY COMPUTER opening C: and hit properties and pull tools and hit...
1
by: =?Utf-8?B?U2NvdHQgVHVybmVy?= | last post by:
I have XP Home Edition. About a month ago I tried to defag my hard drive. I had just cleared out all temp files, etc and wanted to defrag which I had been doing about once a month. A gray...
2
by: =?Utf-8?B?RHVhbmU=?= | last post by:
I unistalled Norton Ghost 14.0 and when I went to defrag my HD, I got this error -- basically saying it could not defrag the HD. Here are the specifics of my results. Any help is appreciated!...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.