This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Creating a file on a FAT file system

hi all,

I want to create a file on a USB pendrive (FAT16 or FAT32 file system).

My FAT code is ok with Linux (I can open the file), but it doesn't work with Windows XP. It says it cannot find the file.

In the directory entry structure I have set the short name field (the name is "FILE"), the last write time and date, the first cluster (LO and HI), the file size and the file attribute (0x20).

What does Windows also need in order to see correctly the file?

Please help!

0