How can I get the path of a Windows “special folder” for a specific user?

Please, do not go into the registry to find this information. That location might change in future versions of Windows. Use SHGetFolderPath instead.

http://msdn.microsoft.com/en-us/library/bb762181(VS.85).aspx

Edit: It looks like LogonUser will provide the token for the other user that you need.

Leave a Comment