Hi Darlis, excuse me for post after long time.
I tried with this script
# MyDefrag v4.0
Title('MOD')
Description("MOD - Run Consolidate-free-space first") // See the "Settings.MyD" file.
# MyDefrag v4 palette.
SetColor(Empty,0,0,0) // Black
SetColor(Allocated,45,72,128) // Dark-blue
//SetColor(BusyRead,255,255,255) // White
//SetColor(BusyWrite,255,255,255) // White
SetColor(BusyRead,0,255,0) // Green
SetColor(BusyWrite,255,0,0) // Red
//SetFileColor(All,139,158,198) // Blue
SetFileColor(All,60,60,60) // Dark Gray
//SetFileColor(Processed,139,198,139) // Green
SetFileColor(Processed,255,0,255) // Fucsia
//SetFileColor(Fragmented,229,229,0) // Yellow
SetFileColor(Fragmented,96,96,0) // Dark Olive
SetFileColor(not(Movable),204,92,92) // Red
//SetFileColor(Selected,175,198,247) // Light-blue
SetFileColor(Selected,96,128,255) // Light-Blue2
//SetFileColor(Selected and Fragmented,255,255,0) // Light-yellow
SetFileColor(Selected and Fragmented,192,192,0) // Light-olive
SetFileColor(Selected and not(Movable),255,115,115) // Light-red
FileMoveChunkSize(524288*4) //524288=512KB 4194304=4MB
DiskmapFlip(no)
#Few resource
ProcessPriority(Low)
//Slowdown(80)
setvariable(sleep,5)
VolumeSelect
CommandlineVolumes()
VolumeActions
/* Place files at 3% into the data on the disk. */
MakeGap(RoundUp(VolumeUsed * 0.03,1MB), DoNotVacate)
/* Zone 1: Directories. */
Message("Zone %1u of %2u","Zona %1u of %2u (Directories)")
FileSelect
Directory(yes)
FileActions
pause(sleep)
Defragment(Fast)
MoveUpToZone()
FastFill(WithShuffling)
AddGap(RoundUp(ZoneEnd, 1MB))
FileEnd
/* Zone 2: Place the MFT and some other special NTFS files. */
Message("Zone %1u of %2u","Zona %1u of %2u (MFT&NTFsSpecialFiles)")
FileSelect
SelectNtfsSystemFiles(yes)
FileActions
pause(sleep)
PlaceNtfsSystemFiles(Ascending,MftSize * 0.1)
FileEnd
/* Zone 3: files used when booting, and a gap. */
Message("Zone %1u of %2u","Zona %1u of %2u (BootingFiles)")
FileSelect
ImportListFromBootOptimize()
FileActions
pause(sleep)
Defragment(Fast)
MoveUpToZone()
FastFill()
FileEnd
/* Zone 4: files used by the most used programs, and a gap. */
Message("Zone %1u of %2u","Zona %1u of %2u (ProgramPrefetchFiles)")
FileSelect
ImportListFromProgramHints("*.pf")
FileActions
pause(sleep)
Defragment(Fast)
MoveUpToZone()
FastFill()
FileEnd
/* Zone 5: regular files and a gap. */
Message("Zone %1u of %2u","Zona %1u of %2u (RegularFiles)")
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("ie?updates")
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("*.iso")
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 FileName("*.mkv")
or FileName("*.ogg")
or FileName("*.flv")
)
FileActions
pause(sleep)
Defragment(Fast)
MoveUpToZone()
FastFill()
FileEnd
MakeGap(MaxNextZoneBegin, DoNotVacate)
Message("Zone %1u of %2u","Zona %1u of %2u (AllOtherFiles)")
FileSelect
All
FileActions
pause(sleep)
SortBySize(ascending)
FileEnd
VolumeEnd
after running the script that consolidate free space. I running many time but is very slow and the result is this:
