13

I'm using cmder (https://github.com/cmderdev/cmder), and would like to be able to:

  • Configure entries to be automatically added the PATH when I start cmder
  • Configure environment variables that will be automatically set when I start cmder

How do I do this?

  • Is there a tabbed console app? Preferably with ctrl-tab or some other shortcut for switching between them? Windows really needs something like virtual tty's. I've seen some that have transparent windows and stuff, but that's a fluff feature that doesn't help. Edit: ok, I was thinking of conemu, which cmder appears to use. – Justin Goldberg Oct 27 '15 at 13:26
17

There is a user startup script in cmder\config\user-profile.cmd. To add items to your PATH, you can do the following;

@set PATH=<path_of_your_item>;%PATH%
  • 1
    Not sure what version it changed, but now it seems to be cmder\vendor\init.bat. – Ludwik Dec 5 '15 at 12:19
  • 1
    No, init.bat gets overwritten. Thats why its placed in the vendor folder. – d0x Feb 2 '16 at 10:30
  • Seems like you're right. – Ludwik Mar 6 '16 at 18:41
  • Do you know why this is happening to me? call does not source a .cmd file correctly: stackoverflow.com/questions/53523506/… – nephewtom Nov 28 '18 at 17:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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