Did you see my tool
MyDefrag Menu Tools both seem to primarily be for highlighting files, but with different approach.
jonib
Jonib, Yes, I saw the post. It has defragment feature too and explorer extension, which I do not have, very nice. When I saw it, I already have a previous version of mine to help me with the other utility I am playing with - for creating lists for MostUsedSeek-Minimized-Layout.txt and/or BootLayout.txt. See an unfinished version in
http://www.mydefrag.com/forum/index.php?topic=1729.30 . I also use scripts $ColorizeMyDriveLtr.MyD and $ColorizeAllZonesMyDriveLtr.MyD to highlight my zones but I use my utility for more on-the-fly sets of files, lists of files and/or booleans. I probably could have used your nice tool but I never got the chance to find out.
$ColorizeAllZonesMyDriveLtr.MyD for all zones at once:
Title('!MyDriveLtr! Boot=Blue; MostUsed=Green; NTFS=Red; Directories=White; Priority=Yellow; Regular=Purple; SpaceHogs=Blanched Almond; EndOfDisk=Gray')
Description('Perform a !MyDefragActn! in !MyDriveLtr!:')
WhenFinished(wait)
!Include Includes\Write-Logfile-Prologue.txt!
ExcludeVolumes( Cdrom(yes) | Fixed(no) | Name("H:") | Name("S:") | Name("C:\Mnt\*") | Writable(no) )
VolumeSelect CommandlineVolumes() and Removable(no) and Writable(yes) and Mounted(yes) and Name("!MyDriveLtr!:")
VolumeActions
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Zone - NTFS System Files ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
SetFileColor( SelectNtfsSystemFiles(yes) , All , 255,000,000) // NTFS System Files - Red
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Zone - Directories ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
SetFileColor( Directory(yes) , All , 255,255,255) // Directories - White
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Zone - Boot Files ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
SetFileColor( ImportListFromFile("!WorkingDirectory!\Includes\$@!COMPUTERNAME!~BootLayout.txt")
, All , 000,000,255) // Boot Files - Blue
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Zone - Most Used Seek-Minimized ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
SetFileColor( ImportListFromFile("!WorkingDirectory!\Includes\$@!COMPUTERNAME!~MostUsedSeek-Minimized-Layout.txt")
, All , 000,255,000) // Most Used Seek-Minimized - Green
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Zone - Priority Files ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
SetFileColor( !Include Includes\$@!COMPUTERNAME!~PriorityFilesIn!MyDriveLtr!.txt!
& NOT (SelectNtfsSystemFiles(yes))
& NOT (Directory(yes) )
& NOT (ImportListFromFile("!WorkingDirectory!\Includes\$@!COMPUTERNAME!~BootLayout.txt"))
& NOT (ImportListFromFile("!WorkingDirectory!\Includes\$@!COMPUTERNAME!~MostUsedSeek-Minimized-Layout.txt"))
, All , 255,255,000) // Priority Files - Yellow
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Zone - Regular Files ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
SetFileColor( ALL
& NOT (SelectNtfsSystemFiles(yes))
& NOT (Directory(yes) )
& NOT (ImportListFromFile("!WorkingDirectory!\Includes\$@!COMPUTERNAME!~BootLayout.txt"))
& NOT (ImportListFromFile("!WorkingDirectory!\Includes\$@!COMPUTERNAME!~MostUsedSeek-Minimized-Layout.txt"))
& NOT (!Include Includes\$@!COMPUTERNAME!~PriorityFilesIn!MyDriveLtr!.txt!)
& NOT (!Include Includes\$@!COMPUTERNAME!~SpaceHogsIn!MyDriveLtr!.txt!)
& NOT (!Include Includes\$@!COMPUTERNAME!~Files-At-End-Of-!MyDriveLtr!.txt!)
, All , 255,000,255) // Regular Files - Purple
pause()
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Zone - Space Hogs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
SetFileColor( ALL
& NOT (SelectNtfsSystemFiles(yes))
& NOT (Directory(yes) )
& NOT (ImportListFromFile("!WorkingDirectory!\Includes\$@!COMPUTERNAME!~BootLayout.txt"))
& NOT (ImportListFromFile("!WorkingDirectory!\Includes\$@!COMPUTERNAME!~MostUsedSeek-Minimized-Layout.txt"))
& NOT (!Include Includes\$@!COMPUTERNAME!~PriorityFilesIn!MyDriveLtr!.txt!)
& (!Include Includes\$@!COMPUTERNAME!~SpaceHogsIn!MyDriveLtr!.txt!)
& NOT (!Include Includes\$@!COMPUTERNAME!~Files-At-End-Of-!MyDriveLtr!.txt!)
, All , 255,235,205) // Space Hogs - Blanched Almond
pause()
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Zone - End Of Disk ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
SetFileColor( (!Include Includes\$@!COMPUTERNAME!~Files-At-End-Of-!MyDriveLtr!.txt!)
, All , 127,127,127) // End Of Disk - Gray
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
VolumeEnd
Snippet of $ColorizeMyDriveLtr.MyD for zones one-by-one :
SetFileColor(All,Selected,255,0,0) // Bright Red - Color of selected files in each zone
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Zone - Boot Files ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
Message("Zone %1u of %2u","Zone %1u of %2u (Boot Files) Bright Red")
FileSelect ImportListFromFile("!WorkingDirectory!\Includes\$@!COMPUTERNAME!~BootLayout.txt")
FileActions
Pause()
FileEnd
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Zone - Most Used Seek-Minimized ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
Message("Zone %1u of %2u","Zone %1u of %2u (Most Used Seek-Minimized) Bright Red")
FileSelect ImportListFromFile("!WorkingDirectory!\Includes\$@!COMPUTERNAME!~MostUsedSeek-Minimized-Layout.txt")
FileActions
Pause()
FileEnd
Snippet of $OptimizeMyDriveLtr.MyD for zones one-by-one :
MakeGap(0) // Place files at the beginning of the disk.
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Zone - Boot Files ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
Message("Zone %1u of %2u","Zone %1u of %2u (Boot Files)")
FileSelect ( ImportListFromFile("!WorkingDirectory!\Includes\$@!COMPUTERNAME!~BootLayout.txt") )
FileActions
!Include Includes\AppendLogfile-BootFiles.txt!
!Include Includes\FileActions-Boot-!MyDefragActn!.txt!
!Include Includes\AddGap-Small.txt!
FileEnd
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Zone - Most Used Seek-Minimized ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
Message("Zone %1u of %2u","Zone %1u of %2u (Most Used Seek-Minimized)")
FileSelect ( ImportListFromFile("!WorkingDirectory!\Includes\$@!COMPUTERNAME!~MostUsedSeek-Minimized-Layout.txt") )
FileActions
!Include Includes\AppendLogfile-MostUsedSeek-Minimized.txt!
!Include Includes\FileActions-Boot-!MyDefragActn!.txt!
!Include Includes\AddGap-Medium.txt!
FileEnd
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Zone - Priority Files ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
Message("Zone %1u of %2u","Zone %1u of %2u (Priority Files)")
Regards,
RobL