Command Reference - File Actions
Sets the attributes of a file on the user's system.
|
Action ID: |
137 |
Filename
The path and filename of the file whose attributes you want to set.
Attributes
This section allows you to specify the attributes of the file on the user’s system.
If selected, the file will have the read-only file attribute set. (This is just like doing "attrib +r" in a DOS prompt.)
If selected, the file will have the system file attribute set. (This is just like doing "attrib +s" in a DOS prompt.)
If selected, the file will have the hidden file attribute set. (This is just like doing "attrib +h" in a DOS prompt.)
If selected, the file will have the archive file attribute set. (This is just like doing "attrib +a" in a DOS prompt.)
This action does not accept wildcards. You can only set the attributes of one file at a time.
If you want to set the attributes of several files at once, try using a "File - Execute" action to run the ATTRIB command, which can accept wildcards in its filename argument. For information on the syntax of the ATTRIB command, type ATTRIB /? in a DOS prompt.
|
Value |
Simple Message |
Verbose Message |
|
0 (OK) |
|
|
|
1 |
MSG_ERR_FILE_SET_ATTRIBUTES |
MSG_ERR_FILE_SET_ATTRIBUTES |
|
2 |
MSG_ERR_FILE_SET_ATTRIBUTES |
MSG_ERR_FILE_SET_ATTRIBUTES |
None