SHGetSpecialFolderLocation Question?

kumar kumaran at
Mon Jan 20 15:49:40 CET 2003

The following python call always return "DESKTOP" as my personal
directory, where as it is a directory named "personal". Can some help
me with this?

Python 2.0 (#8, Oct 16 2000, 17:27:58) [MSC 32 bit (Intel)] on win32
Type "copyright", "credits" or "license" for more information.
>>> from import shell, shellcon
>>> IDLList= shell.SHGetSpecialFolderLocation(shellcon.CSIDL_PERSONAL,
>>> print "my_personal_dir =", shell.SHGetPathFromIDList(IDLList)
my_personal_dir = C:\WINNT\Profiles\kumar\DESKTOP


More information about the Python-list mailing list