logoalt Hacker News

defrosttoday at 8:36 AM0 repliesview on HN

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.