all 44 comments

sorted by: hot top controversial new old
[–] 62 points 1 month ago (9 children)

context is that it's a folder on Windows that isn't shown by default so you have to open the "run" menu then type it in. Like a cheatcode for a computer.

First thing I have done since... Forever, basically, when installing Windows is to have it show me hidden files and folders in Explorer.

FYI: You also don't need to use Run to get there. You could just type %appdata% into the address bar in Explorer. Unless that's also now hidden by default... 🤔 I am still using Windows 10 and have zero experience with 11.

  • source
  • hideshow 9 child comments
  • [–] 5 points 1 month ago (2 children)

    Show hidden folders and show file extensions are the first two toggles I turn on on explorer. Then follows registry changes to restore old context menus and use notepad++ instead of windows notepad.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 42 points 1 month ago (1 child)

    It's just a regular hidden folder...

  • source
  • hideshow 1 child comment
  • [–] 13 points 1 month ago* (9 children)

    I find the whole convention of denoting variables with %foo% weird. Like, delimit it at both ends? $foo is much more elegant and the character looks less weird

  • source
  • hideshow 9 child comments
  • [–] 13 points 1 month ago (2 children)

    It makes sense if you want to concatenate strings, which is probably pretty much what happens when you type that into the path input.

    This way, you could create a string like "D:/%appdata%/local/minecraft" Whereas without the trailing %, you would need a space to separate it from the text, which would result in "D:/Users/Public/AppData /local/minecraft".

    (i havent used windows in a while and those paths are from memory, they might be wrong)

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 1 month ago (4 children)

    Technically $foo also delimits at both ends, the second character is just a newline or whitespace character. However with %foo% it is unambiguous where the variable begins and ends.

    Also I said newline or whitespace, what about special characters?

    Look at $foo+$bar am I adding two variables together? Is the first variable $foo or $foo+?

  • source
  • parent
  • hideshow 4 child comments
  • [–] 2 points 1 month ago (3 children)

    i'm yet to see any language that has variables and '+' operator, while accepting also '+' in variable names at the same time. Same goes for basically every operator

  • source
  • parent
  • hideshow 3 child comments
  • [–] 1 point 1 month ago (2 children)

    Didn't JS do it? Or was it Lua? I don'5 remember but i am sure i saw a language that did some shit like that...

  • source
  • parent
  • hideshow 2 child comments
  • [–] 12 points 1 month ago (11 children)

    On one end you have Microsoft, who wants applications to use the AppData folder to store...well... application data (configuration files, for example). Applications shouldn't use the My Documents folder to store files not created directly by the user. This is all fine. On the other end, the AppData folder is hidden and you can't expect Windows users to know how to see hidden folders. And that's the reason why many applications, games in particular, pollute the My Documents folder.

    Bonus question: do you know the difference between %AppData% and %LocalAppData%?

  • source
  • hideshow 11 child comments
  • [–] 10 points 1 month ago* (last edited 1 month ago) (4 children)

    The reason many games "pollute" the My Documents folder is that in the past, that was also where Microsoft designated the My Games and Saved Games folders. Minecraft was the first game I ever saw that actually put things in the appdata folders. And I still think it's weird that the entire game gets installed there, and not Program Files.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 8 points 1 month ago (3 children)

    I hate it because my OS is on one drive and my games are on another, larger drive.

    Some games, when you download custom maps, download them to the app data folder, which bloats my OS drive instead of filling up the drive intended for games.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 6 points 1 month ago

    You could just symlink the directory to one on the other drive, problem solved. I probably wouldn't symlink the whole AppData directory, that might break things, but just that specific games directory.

  • source
  • parent
  • [–] 2 points 1 month ago (4 children)

    One public and one for thr current user?

  • source
  • parent
  • hideshow 4 child comments
  • [–] 7 points 1 month ago (3 children)

    Not quite!

    Suppose you have an account in a library or university or something like that where you can log-in to whatever machine and still have all of your files and installed applications.

    In such a situation %appdata% is the same on all machines. Basically when you log into a machine the %appdata% folder is mounted from the network (the usual directories such as My Documents are mounted the same way).

    The %LocalAppData% is never shared, instead, and is specific of that machine. If you login again in the same machine, your files are still there, but if you use another pc you get another folder.

    That can be used to have machine-specific configuration files (in LocalAppData) and user-specific configuration files (in AppData).

    Windows is weirder than it looks like on the surface!

  • source
  • parent
  • hideshow 3 child comments
  • [–] 7 points 1 month ago* (last edited 1 month ago) (2 children)

    It's also worth noting that nearly nobody uses %appdata% that way anymore. It's not even synced by default with enterprise OneDrive. And roaming documents folders need specific setup by your admin as well. Most don't because it complicates shit. They'll usually just give each user a dedicated private folder on a network drive and mount that at login, or they'll be even lazier and use OneDrive to sync across devices without all the network drive hoops.

    Also some programs, including some Microsoft developed ones, will install into %appdata% to bypass the need to have local admin rights to install for all users. On one hand it's handy. On the other it makes blocking users from installing shit more of a pain. On the third hand it makes it real annoying to manage drive space when every goddamn user gets a separate Teams install by default.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 5 points 1 month ago*

    I wouldn’t have so much of a problem with all of this if:

    A: It was information provided clearly to the user, including after install and

    B: There was a publicly and clearly standardized process for how the user should be expected to interact with those files.

    Sometimes games will hide screenshots and export data there where others will lose their shit if everything isn’t very carefully handled. Mod folders, user music, save files, screenshots, controller configs… These are things that are now in tens of thousands of games and everyone can just sort of choose whatever they’re in the mood for and no one bats an eye.

    It would just be nice if you didn’t have to go investigating on PCGamingWiki just to check for basic info.

  • source
  • parent
  • some programs, including some Microsoft developed ones, will install into %appdata% to bypass the need to have local admin rights to install for all users. On one hand it's handy. On the other it makes blocking users from installing shit more of a pain

    Well on windows you can install shit anywhere, I don't know if there is something similar to linux's noexec (but that is handled at mount point level). In the old days I used to have a usb drive with "portable" versions of the applications that I wanted to use at school. (We weren't obviously allowed to install anything, but you could run anything)

    Anyways, security is hard, windows is confusing 👍

  • source
  • parent
  • [–] 10 points 1 month ago (2 children)

    Can we get the context of the image as well? I wave many questions.

  • source
  • hideshow 2 child comments
  • [–] 8 points 1 month ago

    %temp% is my fav. Just delete everything in it that windoze will allow. One thing windows and windows programs never do well is clean up temp files. It’s always satisfying/annoying to delete several GB temp files.

  • source
  • [–] 6 points 1 month ago

    You can also insert it into windows explorer path

  • source
  • [–] 6 points 1 month ago (1 child)

    Bro isn’t it just an environment variable?

  • source
  • hideshow 1 child comment
  • [–] 6 points 1 month ago

    He's in Australia! No wait, Japan! No wait Germany! This guy is good. /S

  • source
  • [–] 2 points 1 month ago

    Environmental variables master race

  • source
  • Me setting up a shortcut to the folder so I can access DDLC mod save files easier while I was still on Windows:

  • source