"'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.

  1. To do so, rigth-click on the Computer icon (on the Desktop or Start Menu) and choose Properties;
  2. On the top left, click on Advanced system settings;
  3. A small window pops up. Click on Environment Variables... at the bottom;
  4. On the Panel User variables for [your name here] choose the line starting with PATH (generally, the second);
  5. 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;
  6. At the very end of the value add a ";" if there is none, then add C:\Windows\System32; (mind the ; and the end);
  7. 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!