News for hackers. Stuff that matters.
Re:That Time I Recreated Photoshop in C++ by kibibu on Sunday March 16, 2025 @05:35PM (#43382571)
I cannot stand AppData, specifically the way it's often used to store files that should be in Documents.
Re:That Time I Recreated Photoshop in C++ by jeroenhd on Sunday March 16, 2025 @06:46PM (#43383281)
That should be covered by the part about "best practices".

That said, I keep finding more AppData files in my Documents folders than the other way around. Linux software (especially legacy software that doesn't respect the XDG spec) is the worst for that, somehow spreading files and directories across my user profile directory and my documents directory.

Re:That Time I Recreated Photoshop in C++ by jamesfinlayson on Sunday March 16, 2025 @10:02PM (#43384502)
I'd never heard of AppData until a few years ago when I went hunting for where some game config file was getting written to.

Seemed like a bunch of disparate things with the most common probably being a dumping ground for programming language library caches (Maven and NuGet and maybe another couple).

Re:That Time I Recreated Photoshop in C++ by kibibu on Monday March 17, 2025 @12:38AM (#43385257)
I lost my kid's minecraft world because it stored everything under AppData/Local or some nonsense.
Re:That Time I Recreated Photoshop in C++ by mattl on Monday March 17, 2025 @01:12AM (#43385385)
How did you lose it? That sounds super frustrating
Re:That Time I Recreated Photoshop in C++ by kibibu on Monday March 17, 2025 @02:45AM (#43385759)
By backing up everything in important-looking folders (including My Documents, My Games, the Minecraft installation folder), and overlooking AppData as it is 99% download caches, tempfiles, and other garbage.
Re:That Time I Recreated Photoshop in C++ by hobs on Monday March 17, 2025 @09:21AM (#43388319)
:) and local state, configuration, and anything an app needs when you do stuff. It's really the local user state in most cases, very important to back up!
Re:That Time I Recreated Photoshop in C++ by wink on Monday March 17, 2025 @11:22AM (#43389517)
On my Win10 desktop it got to 30GB though and the stuff worth backup is actually about 1GB of it.

Let's just call it what it is: a complete mess. Some apps install their binaries in there, some just config files, some all your data.

If there are guidelines (and they are not conflicting) about 1/3 of apps are ignoring them.

Also good luck trying to back it up with robocopy or anything, maybe windows' own backup tool can read it while running on that account, I usually get errors, which I think are mostly fine to ignore.

Re:That Time I Recreated Photoshop in C++ by hobs on Monday March 17, 2025 @12:55PM (#43390468)
There's no good guideline - if you want a local cache that transports across user migration, that's the show. Windows doesn't really have a "separate your local disk cache from your backups" method, but you can certainly do the Cleanup Task to remove some things that buy into that modal that's 25 years old :)
Re:That Time I Recreated Photoshop in C++ by fngjdflmdflg on Monday March 17, 2025 @01:47PM (#43390965)
I made a similar mistake when upgrading my SSD. There was some token that was stored in there that I needed, and IIRC I had lost the password needed to generate a new token. I only realized that I was even missing it a few weeks later when I needed to use the tool again. luckily I still had the old SSD so nothing happened. This happened even though I'm familiar with locallappdata and have even used it in some apps I created. It's just not the first thing you would think about when doing a backup unless you've already been bit by it before. Apps generally don't tell you if they store something important there, and the tool I was using never tell me where the token was stored. Doesn't help that file explorer hides the folder from you by default.
Re:That Time I Recreated Photoshop in C++ by pjmlp on Monday March 17, 2025 @02:29AM (#43385687)
It is not meant for that, rather blame the developers.
Re:That Time I Recreated Photoshop in C++ by Dennip on Monday March 17, 2025 @07:27AM (#43387326)
Probably just preference but I hate when apps put things in the documents folder, thats where I want to put the things I've created specifically, not automated config files etc. There should be a 'Preferences' folder or something to separate the chod in AppData from the useful stuff.
Re:That Time I Recreated Photoshop in C++ by Suppafly on Monday March 17, 2025 @12:28PM (#43390203)
>I cannot stand AppData, specifically the way it's often used to store files that should be in Documents.

Which programs do that? Or do you think things like preferences for programs should live among your documents?

Re:That Time I Recreated Photoshop in C++ by Gracana on Monday March 17, 2025 @12:58PM (#43390493)
A lot of games store save files in appdata. That’s the only thing I (not op) can think of, and one I regularly find annoying (if only slightly).
Re:That Time I Recreated Photoshop in C++ by Suppafly on Monday March 17, 2025 @01:09PM (#43390590)
Yeah I suppose that's the only example I can think of, I noticed a comment later mentioning that that is where minecraft saves things, although I'm not sure I'd want those in with my documents either. They probably should live some place that the user has access to, so I guess that leaves app data or documents, neither feels like a great choice.