How can I add metadata to NTFS files/folders?

13

2

I want to tag different file types (i.e. .pdf, .epub, .iso, .bin, folders,..) using the same descriptive fields. For example i would like a metadata field "type" which would be "eBook" on pdf- and epub-files, "CD-Image" on iso- and bin-files.

I read about Alternate Data Streams (ADS) to make this possible. Does anyone know a good program for Windows 7 to tag different files and search for them? It is important for me, that the metadata is NOT stored in a separate database. I move the files a lot and need to stay flexible (ADSs 'stick' to the files).

Any ideas?

Pwdr

Posted 2012-03-29T09:32:00.333

Reputation: 360

I don't think NTFS supports file or folder meta-data – user – 2012-03-29T20:55:11.090

2

NTFS supports Alternate Data Streams. But I don't know a program which uses ADSs for tagging purposes.

– Pwdr – 2012-03-30T13:35:46.067

It does not look like anything has changed in Windows 8... – Pwdr – 2012-12-04T00:27:01.343

Answers

10

This is about a free and open source solution to the problem, available at https://github.com/Dijji/FileMeta.

I started out with the same requirements as Pwdr. What the linked solution does is to allow you to use Explorer to see and edit tags, comments, etc that are stored in ADS. It also works with Windows search.

I think that Microsoft almost shipped this in Vista, because all the plug points are there in both Explorer and NTFS. The key piece that I provide is one 17 K DLL ( 64-bit) to connect the dots. They seem to have backed off because although everything works great as long as the file is on an NTFS drive, but the metadata is lost when you send the file as an e-mail attachment, or move it to a different file system. As a mitigation, my solution includes a capability to export the ADS metadata to an XML file, and re-import it elsewhere.

Dijji

Posted 2012-03-29T09:32:00.333

Reputation: 101

This is still awesome. – Ross Presser – 2019-05-08T14:51:08.883

I downloaded this and have had success adding metadata to more types of files. It doesn't appear to work for Folders though. – Andy Mercer – 2014-04-30T13:37:56.480

2https://filemeta.codeplex.com/discussions/452275 There are discussions to add Folders, but nothing has come of them yet. – Andy Mercer – 2014-04-30T13:45:45.543