3
1
1. Summary
Values of PATH user environment variable don't refresh for me, if I work in ConEmu. I need to restart Windows.
2. Expected behavior
I use Chocolatey refreshenv script. If I run refreshenv
in Hyper terminal or Clink:
C:\Users\SashaChernykh>zeal
'zeal' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\SashaChernykh>refreshenv
Refreshing environment variables from registry for cmd.exe. Please wait…Finished..
C:\Users\SashaChernykh>zeal
Zeal successful run for me.
3. Actual behavior
In ConEmu:
C:\Program Files\Far Manager>zeal
'zeal' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files\Far Manager>refreshenv
Refreshing environment variables from registry for cmd.exe. Please wait…Finished..
C:\Program Files\Far Manager>zeal
'zeal' is not recognized as an internal or external command,
operable program or batch file.
4. Steps to reproduce
I download Zeal program via Chocolatey → I add C:\Program Files (x86)\Zeal
—— path to zeal.exe
in my User environment variable via Rapid Environment Editor:
→ Ctrl+S.
I get expected behavior for Clink and Hyper and actual behavior for ConEmu.
5. Not helped
- Refreshenv Chocolatey script,
explorer.exe
restart,- Close all windows and tabs of all my terminals,
resetvars.vbs
script,ConEmuC /export PATH
.
6. Do not offer
- Please, do not offer restart Windows. It takes a lot of time.
7. Environment
Operating system and version:
Windows 10 Enterprise LTSB 64-bit EN
ConEmu:
170118 [64]
{Far} mode
Just a comment: For what you're trying to do (and seeing all the other path entries you have), an App Paths key would be better I suspect. https://channel9.msdn.com/Shows/Defrag-Tools/Defrag-Tools-133-App-Paths.
– HelpingHand – 2017-02-26T09:04:38.813