Like the others have said, the %
symbols around %AppData%
indicate it is an environmental variable.
These two are predefined paths that vary by Windows edition.
From Vista onward, %AppData%
points to %UserProfile%/AppData/Roaming
(I think you can guess what %UserProfile%
is, or just test it out for your self in Explorer). This folder contains user specific, program related data, or even the programs themselves.
The items in here should roam with the user to different machines. How profiles roam was more apparent to users in a Domain environment who used the same credentials on different company machines. But now that Windows 8 utilizes the cloud and a Microsoft Account for login, this feature should become more apparent to users with multiple machines.
I'm not sure this folder is always used correctly. Google Chrome, for example, will store gigabytes of data in it. Other programs might use it to store items like MyLayoutSettings.cfg
, to have some consistency among settings across to different machines. I think this is a more "correct" way to use the folder.
%LocalAppData%
(%UserProfile%/AppData/Local
) is used for user-specific items that should not roam with the user, either because they only pertain to that particular machine, or because they are too large. For a good example of how this location can be used, take a look at %LocalAppData%/Temp
.
How-To Geek: What Is the AppData Folder in Windows?
– Stevoisiak – 2017-10-25T18:05:11.2472
Related: What are PATH and other environment variables, and how can I set or use them?
– nixda – 2013-08-16T23:06:20.643