Overview

FileTags Library consists of functions that wrap the COM implementation of the IPropertyStore object, for accessing the PKEY_Keywords property metadata of a file.

The IPropertyStore object and PKEY_Keywords property is used for the ‘Tags’ feature in Windows Explorer, when viewing the properties of a file, or when the Details Pane of Windows Explorer is open and a file is selected.

Thus the FileTags Library functions hide the complexities of interacting with the IPropertyStore COM object, allowing the user to read, write and clear the keywords / tags for a file.

For more details on file tagging or the file property metadata:

The FileTags library and source code are free to use for anyone, and anyone can contribute to the FileTags Library project.

Download

The FileTags Library is available to download from the github repository at github.com/mrfearless/FileTags-Library

Features

  • Read file tags (Ansi and Wide/Unicode)

  • Write file tags (Ansi and Wide/Unicode)

  • Clear file tags (Ansi and Wide/Unicode)

Installation

See the Installation & Setup section for more details.

Contribute

If you wish to contribute, please follow the Contributing guide for details on how to add or edit, the FileTags Library source or documentation.

Frequently Asked Questions

Please visit the Frequently Asked Questions section for details.