Optimize/defrag a specific file on your hard disk

Windows 2000's built-in Defragmenter tool is limited in its abilities to both schedule disk defrags and to defrag only specific files instead of the entire drive/volume.

(Windows XP allows scheduling a defrag by using the command line interface "defrag" and scheduling it to run using task scheduler.)

Now a free program from Sysinternals called

Requires Free Membership to View

Contig allows you to schedule the defrag of a single, specific file on your computer to help optimize its performance on your hard disk/volume.

Here's an excerpt from the Web site explaining how it works:

"Contig works on NT 4.0 and higher. Contig can be used to defrag an existing file, or to create a new file of a specified size and name, optimizing its placement on disk. Contig uses the native Windows NT defragmentation support that was introduced with NT 4. It first scans the disk collecting the locations and sizes of free areas.

"Then it determines where the file in question is located. Next, Contig decides whether the file can be optimized, based on free areas and the number of fragments the file currently consists of. If the file can be optimized, it is moved into the free spaces of the disk." This tip was submitted to SearchWinComputing.com's tip exchange by member Tim Fenner. Please let other users know how useful it is by rating it below.

This was first published in August 2004

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.