The SetAttr internal command can be used to:
Command Arguments:
Argument |
Type |
Possible values |
Description | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
(no argument) |
- |
- |
Displays the Change Attributes & Times
dialog, which lets you modify the attributes and timestamps of
selected files and
folders. | ||||||||||||||
ATTR |
/K |
<attributes> |
Sets the specified attributes for selected files and folders, and clears all others. The <attributes> value must consist of one or more of the following letters:
Note that modifying the C or E
attributes may take longer than normal, as the file data has to
be (un)compressed or (un)encrypted. Setting these attributes for folders
sets the default compression/encryption state for new files created in
those folders. A file can be compressed, or encrypted, but not both at
once. | ||||||||||||||
CHMOD |
/K |
<attribute mask> |
Sets the specified attributes for files on a remote FTP site. The
<attribute mask> is specified using octal
notation. | ||||||||||||||
CLEARATTR |
/K |
<attributes> |
Clears the specified attributes for selected files and folders. The
specified attributes will be turned off, but other attributes will be
untouched. See the description of the ATTR argument for a
list of attribute values. | ||||||||||||||
CREATED |
/K |
<date/time> |
Sets the creation timestamp for selected files and folders. The value for this argument can be given as either a date only, a time only, or a date and time. The accepted formats for the date string are YYYYMMDD or YYYY-MM-DD, and the time string must be in the format HH:MM:SS. If you specify a time as well as a date the time must come after the
date, separated by a space, and you must enclose the entire value in
quotes (because of the embedded space). If only a time is provided, the
current date is used. | ||||||||||||||
|
|
now |
Sets the creation timestamp to the current date and
time. | ||||||||||||||
DESCRIPTION |
/O |
(no value) |
Displays the Set Description dialog,
which lets you assign your own description string to selected files and
folders. | ||||||||||||||
|
|
<description> |
Sets the description for selected files and folders to the specified
string. | ||||||||||||||
FILE |
/M |
<filename>, ... |
Specifies the name of the file or files to modify. If you don't provide
this argument the command operates on all selected items in the source
Lister. This is the default argument for the SetAttr
command - you don't need to specify the FILE
keyword. | ||||||||||||||
FILTER |
/K |
<filter> |
Applies the specified filter to the contents of selected folders. This
must have previously been created from the File Operations / Filters page in
Preferences. You can also directly specify a simple wildcard
pattern | ||||||||||||||
META |
/O/M |
(no value) |
Displays the Set Metadata dialog,
which lets you modify the metadata for selected files and
folders. | ||||||||||||||
|
|
keyword:<value>, ... |
Sets the specified metadata fields to the supplied values. Changes
are made (where applicable) to all selected files. | ||||||||||||||
MODIFIED |
/K |
<date/time> |
Sets the last modified timestamp for selected files and folders. The value for this argument can be given as either a date only, a time only, or a date and time. The accepted formats for the date string are YYYYMMDD or YYYY-MM-DD, and the time string must be in the format HH:MM:SS. If you specify a time as well as a date the time must come after the
date, separated by a space, and you must enclose the entire value in
quotes (because of the embedded space). If only a time is provided, the
current date is
used. | ||||||||||||||
|
|
now |
Sets the last modified timestamp to the current date and
time. | ||||||||||||||
RECURSE |
/S |
(no value) |
Changes made by this command will be recursively applied to files
within selected folders. This does not affect the META
argument - only attributes, timestamps and descriptions can be applied
recursively. | ||||||||||||||
SETATTR |
/K |
<attributes> |
Sets the specified attributes for selected files and folders. The
specified attributes will be turned on, but other attributes will be
untouched. See the description of the ATTR argument for a
list of attribute values. | ||||||||||||||
SETDESCRIPTION |
/O |
(no value) |
Clears the description for selected files and
folders. | ||||||||||||||
|
|
<description> |
Sets the description for selected files and folders to the specified
string. | ||||||||||||||
TOGGLEATTR |
/K |
<attributes> |
Toggles (inverts) the state of the specified attributes. If each
attribute specified is currently set it will be cleared, and vice versa.
Attributes that aren't specified will be unaffected. See the description
of the ATTR argument for a list of attribute
values. | ||||||||||||||
ZIPCOMMENT |
/S |
(no value) |
Lets you edit the internal Zip comment when viewing the contents of a Zip
archive. The comment is stored inside the Zip file and can be displayed by
other Zip tools. |