I use cmder@1.3. I want to split a window with new tabs. I found how to do this here. So as I understood I type cmd -new_console:s and I get a new pane. Fine, it works. But I get this. I get standard cmd but just in cmder. It does not have functions the original pane has and it looks different as you can see. My origin pane view is here where I can use cmder functions (e.g. aliases).

How to use cmd -new_console:s so that it load cmd with cmder functionality not just bare cmd?

PS: I have a hotkey for duplicating a tab as here is written. As I can see there is Shell("new_console:I") for a hotkey. I tried cmd -new_console:sI but it did not change anything.

  • This is a product support question for a very obscure product. You might be better off asking the guy who wrote it. – HackSlash Feb 19 '18 at 16:54
  • Official documentation should be the first place to find answers. -new_console and Tasks! – Maximus Feb 19 '18 at 17:49

I can not explain the answer but at least it could help someone searching here. Thanks to @Maximus I found that my default task was {cmd:Cmder} with such a command cmd /k "%ConEmuDir%\..\init.bat" -new_console:d:%USERPROFILE%. From this it is clear that we should call cmd /k "%ConEmuDir%\..\init.bat" before -new_console not just cmd -new_console. I found that init.bat contains init functions and setup. Do not understand why it can not be by default by it is a solution at least.

So, calling cmd /k "%ConEmuDir%\..\init.bat" could be a little tricky as for me so I created an cmder alias in CmderRoot/config/user-aliases.cmd. The alias looks as follows: concmd=cmd /k "%ConEmuDir%\..\init.bat" $*. Now you can easy call concmd -new_console with needed argument and enjoy. concmd is an alias, you can replace it whatever word you want.

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.