All

Select all the items (files, directories) that have not yet been placed in a previous zone.

Syntax

all

Example

FileSelect
All
FileActions
...
FileEnd

See also:

FileSelect

FileBoolean

FileActions

Archive

Select all the items that have the "archive" attribute set (yes) or not set (no). Applications use this attribute to mark files for backup or removal.

Syntax

Archive(yes)
Archive(no)

Example

FileSelect
# Select all the items that have the "archive" attribute.
Archive(yes)
FileActions
....
FileEnd

See also:

FileSelect

FileBoolean

FileActions

AverageFragmentSize

Select all the items that have an average number of bytes per fragment between the minimum (first number) and the maximum (second number). If the second number is zero then the maximum is infinity. For example, if an item is 300 bytes in size and has 3 fragments then it has an average fragment size of 100 bytes.

Syntax

AverageFragmentSize(NUMBER , NUMBER)

Example

FileSelect
# Select all the items that have an average fragment size between 100 and 1000 bytes.
AverageFragmentSize(100,1000)
FileActions
....
FileEnd

See also:

FileSelect

FileBoolean

FileActions

Compressed

Select all the items that have the "compressed" attribute set (yes) or not set (no). For a file the attribute indicates if the file is compressed by the build-in Windows compression. For directories the attribute is the default for new files (directories by themselves cannot be compressed).

Syntax

Compressed(yes)
Compressed(no)

Example

FileSelect
# Select all the items that are compressed with the built-in Windows compression.
Compressed(yes)
FileActions
....
FileEnd

See also:

FileSelect

FileBoolean

FileActions

CreationDate

Select all the items that were created between the minimum time (first parameter) and the maximum time (second parameter). If the first parameter is empty then the minimum time is the beginning of time. If the second parameter is empty then the maximum time is infinity.

- The creation date can be newer than the last-changed date, for example when a file was downloaded, or unpacked from an archive (such as zip or arj).

Syntax

CreationDate(DATETIME , DATETIME)

Example

FileSelect
# Select all the items that were created less than 10 days ago.
CreationDate(10 days ago,now)
FileActions
....
FileEnd

See also:

FileSelect

FileBoolean

FileActions

Directory

Select all the directories (yes) or all the other files (no).

Please note that this boolean does not select the files in a directory, but the directory itself. Directories and files are separate entities.

Directories cannot be moved (defragmented, optimized) on FAT32 volumes. This is a known limitation of the Windows defragmentation API and not a bug in MyDefrag.

Moving directories is slower than moving files of the same size, presumably because Windows has to update indexes and links in the MFT.

この関数はすべてのハードリンク ファイル名を一つのアイテム(二つ名を持ち、同時に違う場所に存在するが、その実体は同じファイル)として扱います。ログファイルには最初に見つかった名前が載ります, so it may appear as if the function has selected some wrong items. この関数はソフトリンク(ジャンクション・シンボリックリンク）を追従しません。

DirectoryPath

STRINGはディレクトリのフルパスと比較され、マッチするでしょう。(The STRING is compared with and must match the full path of the directories.) ドライブレターにマッチするようなマスクを確認してください。ディレクトリパスというのは"c:\windows\System32"といったような物のことです。バックスラッシュの追跡はしないことを覚えておいてください。(訳注:自信がないのでエロイ人お願いします。)

この関数はすべてのハードリンク ファイル名を一つのアイテム(二つ名を持ち、同時に違う場所に存在するが、その実体は同じファイル)として扱います。ログファイルには最初に見つかった名前が載ります, so it may appear as if the function has selected some wrong items. この関数はソフトリンク(ジャンクション・シンボリックリンク）を追従しません。

Encrypted

Select all the items that have the "encrypted" attribute set (yes) or not set (no). For a file the attribute indicates if the file is encrypted by the build-in Windows encryption. For directories the attribute is the default for new files (directories by themselves cannot be encrypted).

Syntax

Encrypted(yes)
Encrypted(no)

Example

FileSelect
# Select all the items that have the "encrypted" attribute.
Encrypted(yes)
FileActions
....
FileEnd