Post by jtsdadinazRemind me where I can read up on directory entries per say. My filenames
aren't that long to take more than a couple of entries each. Or is there some
kind of utility that will tel lme how many entries a file uses?
The FAT32 spec is available here:
http://www.microsoft.com/whdc/system/platform/firmware/fatgen.mspx
It gives details on everything, including the directory structure and
the way Long File Names (LFNs) are stored in directories.
Basically, there's one directory entry that always holds the short
(8.3) version of the file name. If the actual name doesn't fit that
mold, then there will be one to twelve more entries, each of which
holds 13 bytes of the full name. So a file named
"veryverylongname.txt" would take three entries. The first would have
the short name, something like "veryve~1.txt", the second would have
"veryverylongn", and the third would have "ame.txt".
--
Tim Slattery
MS MVP(DTS)
***@bls.gov