SD file name seems not quite right

I formatted a sd card on my laptop using xp with the “FAT” format and then wrote two files named TEST1234.RTF and TESTABCD.RTF. When I read bact the sd card on my lpc using tinyfat, the file names I get from the sd card are TEST12~1.RTF and TESTAB~1.RTF.

I got the feeling this is a windows thing but don’t know for sure. Anyone know?

Regards to all.

Looks like the typical problem about long filenames format. The same happens if you try to read this volume from an MS-DOS window.

Guillem.

Wikipedia has some nice information on FAT:

http://en.wikipedia.org/wiki/File_Allocation_Table

Here’s the official spec from Microsoft:

http://www.microsoft.com/whdc/system/pl … atgen.mspx

I’m a bit surprised that the file names are saved in LFN format even when the files use only 8.3 format.

I think FAT32 long names are saved in some sort of hidden file, for use when displaying in shells that support it (like Win32 explorer), whereas the actual files are still saved in 8.3 format, for shells that don’t support LFN (like DOS)