"'doskey' is not recognized" when using Cmder
I finally found a solution for this error (and many others I was having with Cmder).
Actually, I just added C:\Windows\System32\
to the PATH.
- To do so, rigth-click on the
Computer
icon (on the Desktop or Start Menu) and chooseProperties
; - On the top left, click on
Advanced system settings
; - A small window pops up. Click on
Environment Variables...
at the bottom; - On the Panel
User variables for [your name here]
choose the line starting withPATH
(generally, the second); - Double click on the value (right part) of aforementioned line or click on
edit
underneath the panel and be careful NOT to delete its content; - At the very end of the
value
add a ";" if there is none, then addC:\Windows\System32;
(mind the ; and the end); - Click
Ok
twice to validate the update.
P.S.: You have to restart (close and reopen) your Cmder for these changes to take effect.
That was it!