Skip to content

resolve windows environment variables for paths #147

Closed Answered by Biswa96
goyalyashpal asked this question in Q&A
Discussion options

You must be logged in to vote

ls "%localappdata%" worked from cmd

It works from msys2 bash also. See the following output.

$ echo $LOCALAPPDATA
C:\Users\x\AppData\Local

$ ls -lash $LOCALAPPDATA | wc -l
42

Replies: 5 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by goyalyashpal
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@goyalyashpal
Comment options

@hmartinez82
Comment options

@goyalyashpal
Comment options

@sskras
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #146 on April 02, 2023 18:07.