<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> Thanks for your answer, it's working fine!
>
> For information, the function to use to get the pathName is
> shell.SHGetPathFromIDList
> It returns an error if you select a special folder (!?!?) but otherwise
> it's working fine... And I was unable to fix this issue.

SHGetPathFromIDList only works for real filesystem folders.
Pseudo-folders like Control Panel or Network Connections
throw an error.  You can use PyIShellFolder.BindToObject
to get an interface to perform operations on these.

      Roger


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to