logoalt Hacker News

delta_p_delta_xyesterday at 11:38 AM1 replyview on HN

%LOCALAPPDATA% on Windows. Or better still, use GetAppContainerFolderPath or SHGetKnownFolderPath with FOLDERID_LocalAppData.


Replies

ziml77yesterday at 12:25 PM

I don't know if anyone is actually using roaming profiles, but config should go into the %APPDATA% folder to support that. %LOCALAPPDATA% is for things that shouldn't be synced to different machines, such as caches.

show 1 reply