How to move a file from one location to another on the disk?

10

1

I want to move a specific file (for example a binary .exe) that occupies a specific low offset (physical position) on my HDD to a lower offset (external edge of my HDD). From what I know I can't do it with a simple command on Windows or Linux.

Is there an application that can do it?

Diogo

Posted 2011-05-30T13:56:50.150

Reputation: 28 202

2Why are you asking this? I ask because although I don't know a quick answer to this question, perhaps we might be able to help with the real problem which has forced you into asking this one. – Pricey – 2011-05-30T15:51:14.957

1Im thinking that if I could do it with some files that open with windows-boot then I could optimize the I/O read time and consequently reduces Windows Seven boot time on a HDD. – Diogo – 2011-05-30T15:59:19.543

Answers

11

I would look into myDefrag (from http://www.mydefrag.com/) which can arrange a disk exactly how you want to via various scripts that you can write for it.

It's reasonably easy to modify the existing scripts to add in particular files near the start of the disk during a defrag, or you can make a new script that simply moves a particular file.

The default "System Disk Optimization" is actually quite good already and moves most of the files needed during boot to the start of the disk.

Mokubai

Posted 2011-05-30T13:56:50.150

Reputation: 64 434

Thank you very much, you give me the exact answear that I was looking for. Thanks! – Diogo – 2011-05-30T16:36:45.783