Hi All.
I have a script that I'll include there. What I'm trying to acomplish is have the C:\SavedZeros\zero###.tmp files pushed to the back of the disk and sorted Zero001.tmp being right at the end. Then Zero002.tmp, Zero003.tmp etc... I would like it to fill all spaces (split if it has to, to get around unmovable files) and yes, Rewrite the entire thing if even on byte size difference means it has to.
I thought I had it using b12 and this script but it doesn't seem work. The C:\SavedZeros\* directory gets move to the end of the disk but not only is it not sorted but it's not even defragged. I don't see any files in the way and the drive is 16% free with a 10gig empty area between the last and second last zones. Clearly big enough do defrag these 1 gig files (there are 60 of them)
What to do? What to do?

Here is the script.
Title('SunBlade Optimize')
Description('
just defrag
')
RunScript('Settings')
VolumeSelect
CommandlineVolumes()
and Removable(no)
and Writable(yes)
and Mounted(yes)
VolumeActions
FileSelect
FileName("$mft")
FileActions
SortByName(Ascending)
AddGap(PercentageOfVolume(1))
FileEnd
FileSelect
Directory(yes)
FileActions
Defragment()
FastFill()
AddGap(UntilPercentageOfVolumeMultiple(1))
FileEnd
FileSelect
ImportListFromBootOptimize()
FileActions
Defragment()
FastFill()
AddGap(UntilPercentageOfVolumeMultiple(1))
FileEnd
FileSelect
not(
Size(50000000,0)
or (LastAccessEnabled(yes) and LastAccess(,1 month ago))
or DirectoryName("$RECYCLE.BIN")
or DirectoryName("RECYCLED")
or DirectoryName("RECYCLER")
or DirectoryName("$*")
or DirectoryName("Downloaded Installations")
or DirectoryName("Ehome")
or DirectoryName("Fonts")
or DirectoryName("Help")
or DirectoryName("I386")
or DirectoryName("IME")
or DirectoryName("Installer")
or DirectoryName("ServicePackFiles")
or DirectoryName("SoftwareDistribution")
or DirectoryName("Speech")
or DirectoryName("Symbols")
or DirectoryName("ie7updates")
or DirectoryName("dllcache")
or DirectoryName("Installshield Installation Information")
or DirectoryName("System Volume Information")
or DirectoryName("windows.old")
or FileName("*.7z")
or FileName("*.arj")
or FileName("*.avi")
or FileName("*.bak")
or FileName("*.bup")
or FileName("*.bz2")
or FileName("*.cab")
or FileName("*.chm")
or FileName("*.dvr-ms")
or FileName("*.gz")
or FileName("*.ifo")
or FileName("*.log")
or FileName("*.lzh")
or FileName("*.mp3")
or FileName("*.msi")
or FileName("*.old")
or FileName("*.pdf")
or FileName("*.rar")
or FileName("*.rpm")
or FileName("*.tar")
or FileName("*.wav")
or FileName("*.wmv")
or FileName("*.vob")
or FileName("*.z")
or FileName("*.zip")
or FullPath("C:\SavedZeros\*")
)
FileActions
Defragment()
FastFill()
AddGap(UntilPercentageOfVolumeMultiple(1))
FileEnd
FileSelect
all
and not (FullPath("C:\SavedZeros\*"))
FileActions
Defragment()
FastFill()
AddGap(PercentageOfVolume(100) DoNotVacate)
FileEnd
FileSelect
FullPath("C:\SavedZeros\*")
FileActions
SortByName(Descending)
// FastFill()
FileEnd
// RunScript('WriteLogfile')
VolumeEnd