Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009

SortByName

Place the selected items and sort alphabetically by their full pathname, ascending from A to Z or descending from Z to A.
  • Items are not just sorted by their filename (for example "explorer.exe"), but by their full pathname including all the folder names (for excample "c:\windows\explorer.exe"). The result is that all items that are in the same folder are placed in a block together on disk, and inside that block they're sorted by their filename.
  • If you run the program again and there has been a small change, for example a single file that was added or deleted, then all the files "above" that file have to be moved. This is alright for a small number of items with little data, but can take a long time to complete for large numbers of items with a lot of data.
  • This action will also defragment. It is therefore not necessary to combine this action with the  *  Defragment action.
  • This action will create "wrap around" fragments. For more information see the  *  IgnoreWrapAroundFragmentation setting.
  • If a file has multiple names (hard links) then the file is sorted by the first name that happens to be mentioned in the FAT/MFT.

Syntax

SortByName(Ascending)
SortByName(Descending)

Example

FileSelect
  ....
FileActions
  # Sort the items by their full path.
  SortByName(Ascending)
FileEnd

See also:

 *  FileSelect
 *  FileBoolean
 *  FileActions