How can I access WIN system variables in WSL? #4927
Unanswered
FrankBergemann
asked this question in
General
Replies: 1 comment
-
|
WSLENV. You can also get them with: As for undefined "handling the blank", you'll get better eyeballs on shell programming in stackoverflow and the like. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
I have question on WSL bash shell usage on WIN10:
How can I access WIN system variables e.g. JAVA_HOME, MVN_HOME etc. in a WSL bash shell?
Is there some way to import all of them?
I even have trouble handling the blank between "Program" and "Files" in C:\Program Files\Java\jdk-11.0.4 when trying to set in JAVA_HOME in .profile manually.
Can anyone help?
Beta Was this translation helpful? Give feedback.
All reactions