Jeroen Ruigrok van der Werven wrote:
> Careful with the name though. Microsoft Windows Vista did away with 'My
> Documents & Settings'. It is now C:\Users.
> 
> So you get:
> 
> C:\Users\<name>\AppData\Local\    (former Local Settings\Application Data)
> C:\Users\<name>\AppData\Roaming\  (former Application Data)
> C:\Users\<name>\Documents         (former My Documents)
> C:\Users\<name>\Music             (former My Music)
> C:\Users\<name>\Pictures          (former My Pictures)
> C:\Users\<name>\Videos            (former My Videos)

My latest version uses the SHGetFolderPathW() function from ShlObj.h.
It's the preferred way to get shell folder paths like CLSID_PERSONAL (my
documents). It's compatible with 2000 and newer (maybe even older, but
we don't support ME, NT4 or older) and works on Vista, too.

Christian
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to