Information Technology Reference
In-Depth Information
Table 9-3: Each long-file-name entry can store up to 13 characters.
Byte
Size (bytes)
Description
0
1
Ordinal field: the order of this entry in the series of
LFN entries
1
2
Unicode character 1
3
2
Unicode character 2
5
2
Unicode character 3
7
2
Unicode character 4
9
2
Unicode character 5
11
1
Attributes. Must have bits 0-3 set.
12
1
Type. Set to zero to indicate a LFN entry.
13
1
Checksum
14
2
Unicode character 6
16
2
Unicode character 7
18
2
Unicode character 8
20
2
Unicode character 9
22
2
Unicode character 10
24
2
Unicode character 11
26
2
Cluster. Must equal zero. Included for
compatibility with disk utilities.
28
2
Unicode character 12
30
2
Unicode character 13
A long file name can have lower-case characters, a leading dot (.myfile.txt),
multiple dots (myfile.v1.txt), and spaces (my file.txt). Trailing dots (myfile.)
and trailing spaces (myfile ) are ignored. Any character that is valid in an 8.3
entry is valid in a long file name. Long file names allow a few additional
character codes as well.
Unused character locations should contain FFFFh. The name should end in
a null (0000h) if there is room in the final long-file-name entry.
The first byte in an LFN entry is the Ordinal field. In the LFN entry that
immediately precedes the file's 8.3 entry, the Ordinal field contains 1. In the
next LFN entry above, the Ordinal field contains 2, and so on up to a maxi-
mum of 20. In the Ordinal field with the highest number, bit 6 is set to 1 to
indicate that the entry is the last one for the item.
 
Search WWH ::




Custom Search