I check the link and it mainly deals with file attributes. Thanks, Henry
henryh
I check the link and it mainly deals with file attributes. Thanks, Henry
henryh
Hi Guys, Thanks for the information. The information I want to attach to a file are details as in the following: File description: Type: File version: Product name: ... As I have a hex record file (text format), I want to know what File version so I can decide to use it or not, says for programming a device. I can use FileVersionInfo to read these info, but I don't know to set them to a text file. I guess the text file does not have these properties. Thanks, Henry
henryh
Thanks. I have a hex record file and now I have to open the file, go through the translation, just to see what version of the file!! Any suggestion is appreciated. Thanks, Henry
henryh
Hi All, I can see that exe files have file info including company name, version, ... How do I add the same information to a text file? Thanks, Henry
henryh
This maybe too late but good for some old MFC folks like me: If the file does not exist, create it using CStdioFile: if (!pfile.Open(fileName,CFile::modeReadWrite)) { pfile.Open(fileName,CFile::modeCreate|CFile::modeReadWrite); } pfile.SeekToEnd(); MFC forever!!!
henryh