Comment 2 for bug 695235

Revision history for this message
Patrick (madmonkey) wrote :

This works because Windows Vista and 7 have a symlink from %userprofile%\Local Settings to %userprofile%\AppData\Local. This is always present, but shouldn't be relied upon. The best fix is to query SHGetFolderLocation() with the FOLDERID mentioned earlier. This needs to be done at runtime, not build time, because users can change it to a setting other than the default.

10/23/2009 11:31 PM <JUNCTION> Local Settings [C:\Users\Patrick\AppData\
Local]