Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Why does PowerShell on conEmu have a different PATH from cmd?

I see this when I do openssl version in PowerShell I see that 2007 version and in cmd I see the 2013 version....

This is my startup commandline in conemu

powershell -cur_console:d:h:

How do I make it so powershell on conemu will have the same path as cmd?

share|improve this question
Again. What is the difference in your PATH variables in ConEmu box and standard windows box? What prints $env:PATH in both terminals? – Maximus Feb 28 '13 at 21:38
BTW, "-cur_console:d:h:" is not fully correct. "h:" means change drive, not path... May be not determined in some cases... Use "-cur_console:d:h:\" to guaranteed change working path to "h:\". – Maximus Feb 28 '13 at 21:43

@Maximus, thanks for the help. Seems that a restart makes powershell grab the path or something.

Now its all sorted :)

share|improve this answer
This should be a comment in response to Maximus and not an answer, Maximus should have posted his comment as an answer. Someone else easily can to gain points, including you - include it in your answer above and accept it! – HaydnWVN Mar 1 '13 at 9:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.