C
C#16mo ago
Ab

❔ Windows Apps Resources

Does anyone know why some app devs choose to put app resources in folders within documents/user folder rather than just keep it all in the main app folder in C:/ ? Like how games sometimes put things in documents/My Games Is it a windows permissions thing? Or do they just do it by convention? Is it bad as a dev to just put it all in the main folder?
8 Replies
jcotton42
jcotton4216mo ago
wdym by "resources"?
Ab
Ab16mo ago
Like some games put saves in a folder in documents Some apps put app settings there
jcotton42
jcotton4216mo ago
well, they probably should be using AppData but the reason they don't place it in the same folder as the app's files is a) permissions (would need admin to write there) b) multi-user systems
Ab
Ab16mo ago
Ohh so like the user would need to be an admin for the app to work if it's all in C?
jcotton42
jcotton4216mo ago
Program Files (which I presume is what you actually mean) can only be written to by admins an app could allow non-admin writing by adjusting the permissions on its folder but like, what's the point when AppData exists?
Ab
Ab16mo ago
I'm just the type that likes everything in one place, rather than fragmented around But I guess I can see your point
jcotton42
jcotton4216mo ago
also, a lot of apps used to do this, especially really old games it became a huge problem when Vista rolled around with UAC and stuff if you're doing a "portable" app, then sure but if it's being properly installed, do it right
Accord
Accord16mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.