Jump to content

Modifying file information such as comments


maexus

Recommended Posts

All of my pet projects lately have involved databaseless scripts. Something I need to do is store a string in the comments field on a file, which I don't know if that's just for Windows. I have searched but found nothing. Is it possible to embed a string into a file and have it be ignored if someone just opens the file. Like an image file. Sort of how mp3s have tag into embeded in them.

Any help would be great. Thanks.
mp3 tags are stored in the file itself.  Same with version information and the like that you see on executables.. that is part of the file format.

So to edit that information, you need a library which understands the file format (such as PE executable, or mp3 id tag) in order to modify it.

As far as I know, there's no additional data stored along with files in windows.  Just what is in the file itself.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.