@flabdablet said:
There are predefined environment variables that point to these things.
%APPDATA%
has the pathname of the root folder for per-user roamable application data, and%LOCALAPPDATA%
has the pathname of the root folder for per-user per-workstation local application data. Using the first where you should have used the second is just sloppy.
I would argue, rather, that the choice of names is sloppy. Of the two, %APPDATA%
is clearly "the default", and %LOCALAPPDATA%
requires extra work and something extra to know about. If people aren't supposed to put stuff in the roaming profile by default, they shouldn't have made it the default. They could just as easily have had %APPDATA%
be local application data, and %ROAMINGAPPDATA%
be for roaming app data, no?