or is it telling that zone only those specific files with in that size range can go there.
Edit: The trailing or Size(0, 100MB)
every file that is smaller than 100MB, no matter what you have selected or excluded earlier in that FileSelect! You probably closed the parenthesis to early.
Let's take a look at the script:
The center of harddrives are fastest; the outer is slowest.
No, it's the other way around. The outer part of the disk platters is the fastest part.
You don't have to specify this for every FileSelect. Once declared, the setting is valid for the whole script.
It will sort every common file type, its useage ammount ...
Note that the Last Access time stamp is not
an evidence on how often a file is used. For example, a virus scanner can give all files a recent Last Access time stamp. The files in the layout.ini (ImportListFromBootOptimize()
reads from this file) are already sorted in the order in which they are actually accessed, just use SortByImportSequence(Ascending)
Prefetch, which creates the layout.ini, is a bit tricky. You'll likely find several files in this zone you actually want to have at the very end, so you might want to exclude some of these files from this zone.
After the files have been sorted, they are already defragmented, so the Defragment
action does nothing.
AddGap(ZoneEnd + VolumeFree * 0.005)
The file action to create a gap of a fixed size of 2% of the free space on the volume is:
AddGap(ZoneEnd + VolumeFree * 0.02)
already selects these files. Also note that simply having a Defragment
actions does not put this files to where you want them to be. You have to use an additional FastFill
and DirectoryPath("C:\Program Files\symantec")
and DirectoryPath("C:\Program Files\Norton AntiVirus")
and DirectoryPath("C:\Program Files\Kaspersky Lab")
and FullPath("C:\Program Files\Alwil Software\Avast5","*")
To select multiple files, you have to connect the statements with or
. Note that DirectoryPath
selects files faster than FullPath(...,"*")
and should be used instead.
and FullPath("C:\Program Files","EVGA Precision")
Will select a file named "EVGA Precision" somewhere in (a subdirectory of) "C:\Program Files". I doubt this was intended?
and DirectoryPath("C:\Program Files\Adobe\Adobe Premiere Pro CS3")
and DirectoryPath("C:\Program Files\Adobe\Adobe Premiere Pro CS4")
and DirectoryPath("C:\Program Files\Adobe\Adobe Premiere Pro CS5")
and DirectoryPath("C:\Program Files\Adobe\Adobe Premiere Elements 9")
and DirectoryPath("C:\Program Files\Adobe\Adobe Premiere Elements 10")
You can use the wildcard * to make your life easier
and DirectoryPath("C:\Program Files\Adobe\Adobe Premiere*")
/*OTHER PROGRAM FILES with excluded most used programs*/
You've already selected (and placed) the "most used programs", so you don't have to exclude them in later zones. MyDefrag never moves a file that has been selected in a previous FileSelect.
DirectoryPath ("C:\Program Files\")
Will select nothing because of the trailing backslash. Remove it.
You repeat some of the above mentioned points multiple times, so you have to find and correct them all. Apart from that I don't see why there have to be so many zones. Like why having an extra zones for pdf files and not for doc?