[python-win32] get file tags in windows7 vista
nonino
noa.grasdovitch at live.biu.ac.il
Sun Dec 12 09:20:08 CET 2010
Ok, Lets start from the beginning:
I am doing a PhD in information science. As part of my study I am studying
the use of folders vs. tags. starting from windows vista there is an option
in windows to add tags to office files photos and other file formats. In the
first part of my experience I will run on the participant's computer a
program (the one that I am trying to write:)) that return the ouput: 1000
files in total: 100 in under folder hierarchy of 4, 300 under folder
hierarchy of 3 600 under folder hierarchy of 2. (I wrote this program with
os.walk) then I will teach the participants how to use the tag options and
will ask them to tag their files for the next 2 weeks.
After two weeks I would like to run again the program and now to see how
many tags were added. so the output will be for example: 1010 files in
total: 105 in under folder hierarchy of 4, 305 under folder hierarchy of 3
600 under folder hierarchy of 2. 7 files with 3 tags 3 files with 2 tags 10
files with 1 tag.
So, please help me. how can I get those tags out of the files?
David Hutto-2 wrote:
>
> On Sat, Dec 11, 2010 at 12:36 PM, nonino <noa.grasdovitch at live.biu.ac.il>
> wrote:
>>
>> Hi,
>>
>> First I would like to say that I really searched the net but couldn't
>> find
>> an answer... (I found someone who asked the same question but couldn't
>> track
>> him/her).
>>
>> I am trying to read file tags in windows7 and/or vista.
>> How can I do that?
>> I have tried win32file.getAttributesEx('my file name') and all I got is
>> date
>> I tried to add FILE_ATTRIBUTE_SYSTEM and got that this level is not
>> supported.
>>
>> Can you please help me? I am trying to write this little program for my
>> PhD
>> but with no luck...
>> Thanks,
>
> On Sat, Dec 11, 2010 at 12:36 PM, nonino <noa.grasdovitch at live.biu.ac.il>
> wrote:
>>
>> Hi,
>>
>> First I would like to say that I really searched the net but couldn't
>> find
>> an answer... (I found someone who asked the same question but couldn't
>> track
>> him/her).
>
> Maybe:
> http://www.google.com/search?client=ubuntu&channel=fs&q=file+tags+in+windows7+and%2For+vista&ie=utf-8&oe=utf-8
>
>>
>> I am trying to read file tags in windows7 and/or vista.
>> How can I do that?
>> I have tried win32file.getAttributesEx('my file name') and all I got is
>> date
>> I tried to add FILE_ATTRIBUTE_SYSTEM and got that this level is not
>> supported.
>>
>> Can you please help me? I am trying to write this little program for my
>> PhD
>> but with no luck...
>
> PhD implies you provide more info.
>
>
>> Thanks,
>> Noa
>> --
>> View this message in context:
>> http://old.nabble.com/get-file-tags-in-windows7-vista-tp30434433p30434433.html
>> Sent from the Python - python-win32 mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> python-win32 mailing list
>> python-win32 at python.org
>> http://mail.python.org/mailman/listinfo/python-win32
>>
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
>
--
View this message in context: http://old.nabble.com/get-file-tags-in-windows7-vista-tp30434433p30437184.html
Sent from the Python - python-win32 mailing list archive at Nabble.com.
More information about the python-win32
mailing list