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

How to reload system variable #340

Closed
jk2K opened this issue Dec 4, 2014 · 2 comments
Closed

How to reload system variable #340

jk2K opened this issue Dec 4, 2014 · 2 comments

Comments

@jk2K
Copy link

jk2K commented Dec 4, 2014

I modified the PATH system variable, PATH variable can be displayed correctly in cmd, but the cmder doesn't work
How to reload the system variable in cmder, I restart cmder, it still doesn't work
Restarting computer can work, is there a better way of doing it? Please help me, thank you

@Jackbennett
Copy link
Contributor

I've tried messing with user and system env properties for HTTP_PROXY and to be honest I've never found a good way to do it and guarantee they change.

I tried a powershell function with these [environment]::SetEnvironmentVariable("http_proxy", $proxy, "User") and to unset "http_proxy", $null, "User"

but like I say, seemed unreliable to take effect.

@jk2K
Copy link
Author

jk2K commented Dec 5, 2014

I found cmder can reload system variables when it launched
use rapidee to modify the system variables, is very nice

@jk2K jk2K closed this as completed Dec 5, 2014
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