• On MovieTome: Concept art of Iron Man's super-villain!
July 2, 2008 12:01 AM PDT

Free utility lets you defrag files solo or in bunches

by Dennis O'Reilly
  • Font size
  • Print
  • 3 comments

The disk defragmenter in Windows Vista leaves much to be desired. A couple of months ago, I recommended Auslogics' Disk Defrag as a free alternative. What that program lacks is the ability to defrag just one or a select set of files and folders.

If you use Windows XP, the free Contig program from Mark Russinovich of Sysinternals fame (now owned by Microsoft) lets you ensure that an existing file is stored contiguously rather than fragmented onto different disk volumes. You can also use it to create a file that will remain contiguous.

Why would you want to defragment a single file? It may be one you open frequently, or it may be missed by disk defragmenters for any number of reasons, primarily that it is in use when the defrag occurs. A companion program from Russinovich called PageDefrag lets you defragment paging files and Registry hives that are inaccessible to other defraggers.

These programs are great for XP, but they don't work with Vista. For that OS, there's WinContig, a freebie from Marco D'Amato. The program works without having to create any installation files or Registry entries. Simply select the files or folders you want to defrag and click Analyze.

When the program finds a file in need of defragmentation, select it and click the Defragment button. WinContig offers to check the disk for errors before defragmenting, and if it finds any errors, it instructs you to correct them before it will proceed. Of course, you can run the defrag without the disk check as well.

Marco D'Amato's WinContig file-defragmenting utility

The free WinContig utility lets you defrag files selectively.

(Credit: Marco D'Amato)

The program lets you choose between two defrag "strategies": Quick or Smart. The difference is that the latter will attempt to minimize the number of file fragments if it can't find a single contiguous block of free space large enough to accommodate it. The author recommends using the Quick approach if you set Vista to defrag the disk weekly (the default setting).

There isn't an abundance of other features in the program, though you can create and load profiles for defragging the same files or folders repeatedly. You can also exclude files from being defragged. If you're curious, you can view an abundance of information about the number and location of the clusters in which a file is stored. That's a bit more information than I need, but you might find it useful.

Dennis O'Reilly has covered PCs and other technologies in print and online since 1985. Along with more than a decade as editor for Ziff-Davis's Computer Select, Dennis edited PC World's award-winning Here's How section for more than seven years. He is a member of the CNET blog Network, and is not an employee of CNET.
Recent posts from Workers' Edge
Five tips for safe Web shopping
Browser security features compared
Essential Firefox security add-ons
Troubleshoot Microsoft Word printer problems
Troubleshoot Windows 7 upgrade woes
Browse safely by blocking Web ads
Free alternatives to Adobe Reader
Finding the catch in 'free' software
Add a Comment (Log in or register) (3 Comments)
  • prev
  • 1
  • next
by SerengetiValley July 2, 2008 10:34 AM PDT
Interesting utility. Thanks for the info.
Just FYI: another way to avoid fragmentation of frequently used files is to install an automatic defragger.
I use one (not freeware though), and it keeps the files defragged in the background using idle system resources. This happens without my intervention, and I don't have to defrag individual files manually or schedule batch defrags, so it's quite convenient.
Reply to this comment
by mhinnewyork July 2, 2008 12:36 PM PDT
For more on the Page Defrag program see
Defragging and sizing the Windows page file
http://www.cnet.com/8301-13554_1-9933994-33.html
Reply to this comment
by edw235 July 2, 2008 9:23 PM PDT
What I like about CNET.COM it is always something interesting around there. Plus some software sites very SLOW, instead of CNET.COM
Reply to this comment
(3 Comments)
  • prev
  • 1
  • next
advertisement
Click Here

The browser battles go on and on

roundup From Firefox to IE and from Chrome to Opera and Safari, there's no sitting still for browser makers looking to keep their products fresh and competitive.

3G wireless still holds promise

The next generation of 4G wireless may get all the headlines, but advanced 3G technology will likely dominate services for the next few years.

advertisement

About Workers' Edge

Dennis O'Reilly has covered PCs and other technologies in print and online since 1985. Along with more than a decade as editor for Ziff-Davis's Computer Select, Dennis edited PC World's award-winning Here's How section for more than seven years. He is a member of the CNET Blog Network and is not an employee of CNET.

Add this feed to your online news reader

Workers' Edge topics

advertisement
advertisement

Inside CNET News

Scroll Left Scroll Right