Comment 1 for bug 1089639

Revision history for this message
Brian Curtin (brian.curtin) wrote :

This would ideally be done using SHGetKnownFolderPath with the FOLDERID_Links argument. Unfortunately this is not exposed via pywin32, so it's not going to be the cleanest method, but it's not too bad.

One option is to use SHGetFolderPath with the CSIDL_PROFILE argument, append "Links", then check that the path exists. That's the default of the above option and likely to be the case. However, if someone (oddly) chose to move that folder, then this method is broken.