File Directory Entry
File directory entry describes files and directories. It is a primary critical directory entry and must be immediately followed by 1 Stream Extension directory entry and from 1 to 17 File Name directory entries . Those 3-19 directory entries comprise a directory entry set describing a single file or a directory.
Offset | Size | Description | Comments |
---|---|---|---|
0 (0x00) | 1 | EntryType | 0x85 |
1 (0x01) | 1 | SecondaryCount | Must be from 2 to 18 |
2 (0x02) | 2 | SetChecksum | |
4 (0x04) | 2 | FileAttributes* | |
6 (0x06) | 2 | Reserved1 | |
8 (0x08) | 4 | CreateTimestamp | |
12 (0x0C) | 4 | LastModifiedTimestamp | |
16 (0x10) | 4 | LastAccessedTimestamp | |
20 (0x14) | 1 | Create10msIncrement | 0..199 |
21 (0x15) | 1 | LastModified10msIncrement | 0..199 |
22 (0x16) | 1 | CreateTimezoneOffset | Offset from UTC in 15 min increments |
23 (0x17) | 1 | LastModifiedTimezoneOffset | Offset from UTC in 15 min increments |
24 (0x18) | 1 | LastAccessedTimezoneOffset | Offset from UTC in 15 min increments |
25 (0x19) | 7 | Reserved2 |
* FileAttributes
Bits | Size | Attribute | Comments |
---|---|---|---|
0 | 1 | ReadOnly | |
1 | 1 | Hidden | |
2 | 1 | System | |
3 | 1 | Reserved1 | |
4 | 1 | Directory | |
5 | 1 | Archive | |
6 | 10 | Reserved2 |