Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paths with env variables, e.g. %USERPROFILE%\go\bin #33

Open
iva2k opened this issue Nov 11, 2020 · 4 comments
Open

Paths with env variables, e.g. %USERPROFILE%\go\bin #33

iva2k opened this issue Nov 11, 2020 · 4 comments

Comments

@iva2k
Copy link

iva2k commented Nov 11, 2020

Paths with env variables, e.g. %USERPROFILE%\go\bin are not working. Apparently, env variables are not being substituted.
However, it is very common practice to include environment variables for many different reasons. Would be nice to support it.

@RockyMM
Copy link

RockyMM commented Aug 14, 2023

@iva2k could you describe the issue a bit? What exactly is not working for you?

@iva2k
Copy link
Author

iva2k commented Sep 15, 2023

wow, 3 years later...

I want to specify the path as %USERPROFILE%\go\bin, and keep it this way in the path environment, without substitution. So that the substitution will be done by Windows when using the variable.

@RockyMM
Copy link

RockyMM commented Sep 18, 2023

Yeah, sorry 😁 I was wondering is it something I was having a problem myself.

I will try out what you described out of curiosity. I would expect that WindowsPathEditor has nothing with the env substitution in the paths.

@RockyMM
Copy link

RockyMM commented Sep 18, 2023

I just tried this out. In the Add Dir dialog in the Folder input I pasted a path with a variable, e.g. %USERPROFILE%\Documents\My Downloads\windowspatheditor-1.7. What WindowsPathEditor did it replaced %USERPROFILE% with %HOME%. But it did apply it to my user path.

So I would say it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants