Page 1 of 1

Tool to move the clusters/sectors for a file

Posted: April 25th, 2014, 21:54
by chcw
I know when a file is allocated on a file system, such as NTFS or FAT32, the file system will allocated some clusters/sectors for it. After the file is allocated, is there a tool that can move the clusters allocated to the file from one location to another, and update the file system meta data as well? This is just like a defragment for a file manually.

Re: Tool to move the clusters/sectors for a file

Posted: April 27th, 2014, 8:19
by ReclaiMe
If you want to defragment a single file, CONTIG from SysInternals does it.
technet.microsoft.com/en-us/sysinternals/bb897428.aspx

Re: Tool to move the clusters/sectors for a file

Posted: April 27th, 2014, 9:50
by chcw
It seems that CONTIG is a commandline tool, not GUI based?

Re: Tool to move the clusters/sectors for a file

Posted: April 27th, 2014, 11:23
by ReclaiMe
Correct.

Re: Tool to move the clusters/sectors for a file

Posted: April 27th, 2014, 22:45
by HaQue
does the OP want to also specify where the file is now located? I dont think Contig does that.

Re: Tool to move the clusters/sectors for a file

Posted: April 28th, 2014, 9:44
by chcw
Yes, I do want to do so. Thank.

Re: Tool to move the clusters/sectors for a file

Posted: April 28th, 2014, 10:36
by HaQue
Can you code? I don't think it would be that difficult to write a util to do it