OverviewExamples
Returns a table containing all of the attributes for a specific file.
(string) The path to the file.
(table) A table containing the file attributes indexed by name. If the file does not exist or an error occurs, this action returns nil.
If the file exists, the following attributes will be stored in the table:
KEY |
TYPE |
DESCRIPTION |
CreationDate |
string |
The date the file was created (Monday, May 26, 2003). |
CreationDateISO |
string |
The date the file was created, in ISO format (2003-05-26T16:57:52). |
AccessDate |
string |
The last date the file was accessed (Wednesday, June 18, 2003). |
AccessDateISO |
string |
The last date the file was accessed, in ISO format (2003-06-18T15:11:44). |
WriteDate |
string |
The last date the file was written to (Wednedsay, June 18, 2003). |
WriteDateISO |
string |
The last date the file was written to, in ISO format (2003-06-18T14:55:05). |
Directory |
boolean |
True if the directory attribute is set. |
Archived |
boolean |
True if the archive file attribute is set. |
ReadOnly |
boolean |
True if the read-only file attribute is set. |
Compressed |
boolean |
True if the compressed file attribute is set. |
System |
boolean |
True if the system file attribute is set. |
Hidden |
boolean |
True if the hidden file attribute is set. |
Temporary |
boolean |
True if the temporary file attribute is set. |
Normal |
boolean |
True if none of the boolean attributes are set. |
You can use Application.GetLastError to determine whether this action failed, and why.
See also: Related Actions