Information Technology Reference
In-Depth Information
Table 9-1: The main directory entry for a file has 32 bytes.
Byte
Length
(bytes)
Description
DOS 8.3
(original)
0
8
Short file name. The file name before the dot using the
system's OEM code page. Eight characters maximum,
upper case only.
yes
8
3
File extension. The file name after the dot using the
OEM code page. Three characters maximum, upper
case only.
yes
11
1
Attributes.
yes
12
1
Reserved for Windows NT. Set to zero on formatting.
no
13
1
File creation time, hundredths of a second portion.
Valid values are 0-199.
no
14
2
File creation time, hour, minute, seconds portion:
bits 15..11 hours, valid range 0-23
bits 10..5 minutes, valid range 0-59
bits 4..0 seconds / 2, valid range 0-29
no
16
2
File creation date:
bits 15..9 years since 1980, valid range 0-127
bits 8..5 month, valid range 1-12
bits 4..0 day, valid range 1-31
no
18
2
Last accessed date:
bits 15..9 years since 1980, valid range 0-127
bits 8..5 month, valid range 1-12
bits 4..0 day, valid range 1-31
no
20
2
For FAT16, zero.
For FAT32, the high word of the file or directory's first
cluster.
no
22
2
Last modified time:
bits 15..11 hours, valid range 0-23
bits 10..5 minutes, valid range 0-59
bits 4..0 seconds / 2, valid range 0-29
yes
24
2
Last modified date:
bits 15..9 years since 1980, valid range 0-127
bits 8..5 month, valid range 1-12
bits 4..0 day, valid range 1-31
yes
26
2
For FAT16, the number of the file or directory's first
cluster.
For FAT32, the low word of the file or directory's first
cluster.
yes
28
4
File size in bytes.
yes
Search WWH ::




Custom Search