RE: Accessing file metadata on windows XP



[wileyregister22@xxxxxxxxx]

| When rightclicking a, for example, pdf file on windows, one normally
| gets a screen with three or four tags. Clicking on one of the summary
| tag one can get some info like "title", "Author", "category",
| "keyword"
| etc..

This (Delphi) article is about the most informative
I managed to dig up:

http://tinyurl.com/rx9hc


In short, you need to use the StgOpenStorageEx function
which the (pywin32) pythoncom module exposes. There are
quite a few caveats and you'll have to dig around for
flag/constants etc. but it should be quite do-able.

(Still don't have the time to try it myself, tho')

Happy Hunting!
TJG

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
.



Relevant Pages

  • Re: Anyone wanna help a novice?
    ... > I believe there's a setting in the display properties that you check for ... Have to dig around to find it, ... You may have another set of reasons for this happening Ace ... > Microsoft Windows MVP - Windows Server - Directory Services ...
    (microsoft.public.win2000.active_directory)
  • RE: Odd behaviour of os module with a Win2k shared directory
    ... | C:\Program files\ on a Windows 2000 machine, called 'Nom'. ... anti-virus service working around the clock, around the globe, visit: ...
    (comp.lang.python)
  • RE: file system iteration
    ... |> In Windows, the file system is disjointed and there is now ... Win32 API to pick up volume-level information, ... anti-virus service working around the clock, around the globe, visit: ...
    (comp.lang.python)
  • RE: Name/ID of removable Media: how?
    ... | I am trying to find out (using Python under windows) the name ... import wmi ... anti-virus service working around the clock, around the globe, visit: ...
    (comp.lang.python)
  • RE: Print to Windows default Printer
    ... | I am using Windows XP SP2. ... on XP SP2? ... anti-virus service working around the clock, around the globe, visit: ...
    (comp.lang.python)