[Tutor] Add metadata to a dir of files.

Mark Bystry mabystry at verizon.net
Thu Feb 22 19:30:50 CET 2007

I think I'm getting close but with the wrong programming language...

filename: test.vbs
Set objFile = CreateObject("DSOFile.OleDocumentProperties")
Wscript.Echo "Category: " & objFile.SummaryProperties.Category

With the help of dsofile.dll the above reads the "Category" attribute of test.txt.

Mark Bystry wrote the following on 2/22/2007 1:01 PM:
> Actually no. I want to change the Windows metadata. This is the same metadata that is on all files. 
> It isn't PDF specific. (I wonder if Linux is the same)
> Basically, I can select 100's of file in a dir, right-click, properties, summary, and add something 
> to the Category field. This obviously affects all files giving them all the same attribute. I can 
> continue doing it this way but I thought perhaps a script would be best. Maybe it isn't, I don't know.
> Anyway, thank-you for the links.
> Mark

More information about the Tutor mailing list