How to see fragmentation of a specific file?

Ghostrider picture Ghostrider · May 14, 2010 · Viewed 8.8k times · Source

Is there a tool that would show me for a specific file on disk, how fragmented it is? (How many seeks does physical disk need to make if I were to read that file in a linear fashion)

Answer

Albin Sunnanbo picture Albin Sunnanbo · Aug 25, 2010

The Sysinternals tool contig with parameter -a can do this for a file or all files in a folder and its subfolders.