Coder Social home page Coder Social logo

Comments (5)

Dijji avatar Dijji commented on June 17, 2024 3

This issue comes up from time to time. I also think it would be great to be able to add meta data to folders. It is possible to store it in the same way that File Meta does for files. The problem that I’ve never been able to overcome is getting Explorer to actually show the meta data. There seems to be no extension that would allow me to do this. I haven’t quite given up, however.

Dijji

from filemeta.

SorryForMyEN avatar SorryForMyEN commented on June 17, 2024

Access the folder options in the directory where you want to add tags and temporarily check the options for viewing hidden files and system files. Create in this directory a text file called desktop.ini and type "[.ShellClassInfo]" and "InfoTip =", each in its own line and without the quotation marks. What you write after the equal sign is what will appear in the folder hint and the "comments" tag. After that, re-check the options to hide occult and system files, and access the file created by typing \desktop.ini at the end of the directory address bar when you want to edit the "tag". This is the closest you can do today because there is no extension for folders. But it would be great if FileMetadata could in the future circumvent this limitation in any way to allow fuller tags as you suggested.

from filemeta.

Hept0p avatar Hept0p commented on June 17, 2024

Hi @Dijji ,

First, I want to thank you for such a great tool, and a very well-documented wiki as well.
It's a shame that MS chose to discard support for such a mandatory feature (metadata assignation from ntfs alt stream), just to line up with their commercially-driven strategies... It's hard to achieve an efficient files organisation without using metadata..

Your last message gave me hope regarding an eventual solution to Folders..
A couple month has passed since that last comment however.. do you still hope to find a solution eventually ?

Having very little programming knowledge, I recently started digging a little on my own. However, I feel like my searching path is just following one that you most likely went through already..

It would help if I knew more precisely what are the attempts you've made so far, what didn't work and why..

it would be great to be able to add meta data to folders. It is possible to store it in the same way that File Meta does for files. The problem that I’ve never been able to overcome is getting Explorer to actually show the meta data. There seems to be no extension that would allow me to do this.
Using.

As you probably know already, folders are actually COM objects. And as such they do have properties that can be retrieved.

For instance, using the Windows Script Host engine, through this simple VB scripts, I could retrieve the properties of any folders in the file system. In the script below, Folders_Props_Enum.vbs, I retrieve those from some random dir "C:\scripts"). In that script, I use the Win32_Directory class.
The official documentation for this Class mentions there's a total of 23 properties available using this class, but I've been able to fetch 44 using some object suffix name used from other classes..

In my Ext_Prop_Enum_Cur_Dir.vbs script, I used the FileSystemObject object to fetch all extended properties value from the current directory.

These are just two simple way to fetch COM Object detail using the windows script host engine . there are many more...

1546560430
vbs scripts.zip

from filemeta.

Dijji avatar Dijji commented on June 17, 2024

The problem is not with storing or reading the properties, since folders turn out to support exactly the same alternate stream mechanism, supported by NTFS, that I use for files. The problem is finding a way to make those properties visible from within Explorer, which in my view is what makes properties useful. It would be pretty straightforward to write a stand-alone application that showed folder structures and allowed you to see and edit metadata associated with them. Would that the useful thing?

Dijji

from filemeta.

ShaunOfTheLive avatar ShaunOfTheLive commented on June 17, 2024

Access the folder options in the directory where you want to add tags and temporarily check the options for viewing hidden files and system files. Create in this directory a text file called desktop.ini and type "[.ShellClassInfo]" and "InfoTip =", each in its own line and without the quotation marks. What you write after the equal sign is what will appear in the folder hint and the "comments" tag. After that, re-check the options to hide occult and system files, and access the file created by typing \desktop.ini at the end of the directory address bar when you want to edit the "tag". This is the closest you can do today because there is no extension for folders. But it would be great if FileMetadata could in the future circumvent this limitation in any way to allow fuller tags as you suggested.

Thanks! This works well enough for my purposes. Just be aware that if the folder is not already set to a special type in the Properties -> Customize tab (Music, Videos, etc.), then you need to either set it to a special type, or go to that folder in the command line and type attrib +s .

from filemeta.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.