logoalt Hacker News

frollogastontoday at 8:26 AM1 replyview on HN

Lack of standard dirs doesn't really matter in this case because the same dev writes the installer and uninstaller. But I do get annoyed that Windows programs put stuff in random places when I want to look into them, like it's program files, program files (x86), documents, roaming... where tf is %appdata% even


Replies

defrosttoday at 8:36 AM

Yeah, I know it's rhetorical, all the same, there are a bunch of ways to query environment variables:

* From a windows CLI type

    SET
and all environment variables will be listed along with their values.

* From a windows CLI type

    SET APP
and all environment variables prefixed with "app" will be listed along with their values (eg: APPDATA ).

* With path location variables, open up file explorer and enter %appdata% in address bar and press enter / click "goto" arrow. File Explorer will expand the variable and show the expanded directory path and contents.