Repository navigation
dos_fileex
Dale Fugier edited this page Jul 1, 2026
·
1 revision
Returns extended information on a file.
(dos_fileex filename)
filename
The source filename.
A list describing the file's details if successful. The information returned is as follows:
| Element | Description |
|---|---|
| 0 | The file path. |
| 1 | The file name including extension. |
| 2 | The file size in bytes. |
| 3 | The time the specified file was created. |
| 4 | The time the file was last changed and saved. |
| 5 | The time that the file was last accessed. |
| 6 | A bit-coded integer identifying the file's attributes. The bit values are as follows: |
| Value | Description |
|---|---|
| 0 (bit 0) | Normal (has no other attributes). |
| 1 (bit 1) | Read-only |
| 2 (bit 2) | Hidden |
| 4 (bit 3) | System |
| 8 (bit 4) | Archive |
| 16 (bit 5) | Compressed |
| 32 (bit 6) | Temporary |
nil on error.
Command: (dos_fileex "acad.exe")
("C:\\program files\\autocad 2010\\" "acad.exe" 1.57155e+007 2.00908e+007 2.00908e+007 2.00911e+007 8)