cmder icon indicating copy to clipboard operation
cmder copied to clipboard

Turn every cmd to cmder

Open tomasfejfar opened this issue 12 years ago • 19 comments

I was not able to make this work. I managed to autoattach every CMD to cmder (i.e. start > run > "cmd" results in new tab). But the new tab does not look like cmder - it's normal CMD. Also "Open ConEmu Here" context menu item opens plain conemu and not cmder (ugly colors, fonts, etc.)

Is there a way to turn all of those to cmder tabs?

tomasfejfar avatar Feb 05 '14 14:02 tomasfejfar

You don't want to enable the shell integration from the cmder settings, because that will result in what you're experiencing with it opening a ConEmu window isntead of a Cmder window.

You can do the following to register Cmder shell extensions: Cmder.exe /REGISTER [ALL|USER]

This will open a new window when using it though, it would be neat to be able to have it open in a new tab.

See the launcher for more details: https://github.com/bliker/cmder/blob/master/launcher/src/CmderLauncher.cpp

sc0tt avatar Feb 06 '14 14:02 sc0tt

Actually that does not work:

The syntax of the command is incorrect.


Current directory:
C:\Programs\cmder\vendor\conemu-maximus5\ConEmu

Command to be executed:
"C:\WINDOWS\system32\cmd.exe" /C <Startup>


ConEmuC: Root process was alive less than 10 sec, ExitCode=1.
Press Enter or Esc to close console...

But it did open as a tab (i have "only one instance" checked)

tomasfejfar avatar Feb 06 '14 16:02 tomasfejfar

Is there any way to debug this?

tomasfejfar avatar Feb 06 '14 16:02 tomasfejfar

There are also some random "System can't find the path specified" errors (like when i do "restart as admin" when in injected cmd) but the cmd itself is admin and works - just the theme is missing

tomasfejfar avatar Feb 06 '14 16:02 tomasfejfar

Any update?

tomasfejfar avatar Feb 14 '14 14:02 tomasfejfar

cc @techi602

tomasfejfar avatar Feb 14 '14 14:02 tomasfejfar

I am Experiencing the same thing, running Cmder.exe /REGISTER ALL seems to have no effect?

Decad avatar Mar 09 '14 23:03 Decad

does not seem to work, no entries are added to context menu on win8

vip32 avatar Apr 03 '14 09:04 vip32

I just tried and it does work. But you need to run it from an elevated prompt.

SkoricIT avatar May 17 '14 08:05 SkoricIT

I tried it with no success. I run elevated Administrator cmd, from there i called C:\Programs\cmder>Cmder.exe /REGISTER USER then when I do "Win+R -> cmd" i get normal cmd shell and it's not attached to current cmder.

tomasfejfar avatar May 17 '14 21:05 tomasfejfar

You don't understand the REGISTER command. It registers a folder background shell execute command.

Like this:

That is all it does. But it DOES work. @vip32 said no reg entries are added. They are indeed added.

Not all people here are talking about the same thing.

Win+R "cmd" will never execute cmder because that is just not how it works. It's like executing "ping 192.168.0.1" when I type "cmd". As far as i know you can not alias over windows built-in binaries like that. Please, correct me if I am wrong.

SkoricIT avatar May 17 '14 22:05 SkoricIT

Just put the cmder folder in your user environment path and win + R cmder instead. That's as close as you can do, don't rename cmd.exe bath things almost certainly will happen.

You could set conemu to show/hide on something like ctrl + # and execute cmder minimised on startup.

Jackbennett avatar May 19 '14 08:05 Jackbennett

Author probably means Integration -> Defatult term -> Force ConEmu as default terminal for console applications

Currently that checkbox will set as Default term ConEmu itself (from cmder\vendor\conemu-maximus5) which will launch with it's own settings, while it should set as Default term Cmder.exe from cmder\

ArmorDarks avatar Feb 05 '15 13:02 ArmorDarks

Exactly. Thanks for the clarification. @ArmorDarks

tomasfejfar avatar Feb 05 '15 13:02 tomasfejfar

@tomasfejfar You can launch cmder from "Run" by setting it up like this:

  1. In run, type sysdm.cpl ,3
  2. Click on "Environment Variables"
  3. In "User Variables", edit your "PATH" variable
  4. In the end of your "PATH"'s value, add a ; + the path of the cmder's folder. Ex.: %PROGRAMFILES%\nodejs**;C:\cmder_mini**

You're now set up, just type cmder in run.

marcoscssno avatar Oct 07 '15 22:10 marcoscssno

@marcoscssno not exactly - this won't open "new" cmder tab.

  • run -> cmder
  • cmder window opens
  • run -> cmd
  • cd c:\temp
  • cmder
  • expected: new cmder tab opened in c:\temp
  • actual: existing cmder window brought to foreground

tomasfejfar avatar Oct 08 '15 10:10 tomasfejfar

@ArmorDarks thanks bro!

luscas avatar Sep 26 '17 17:09 luscas

Isn't it kind of absurd that opening Cmder and using it to register its own context menu actually registers a different program (ConEmu)? Why doesn't Cmder override the ConEmu settings so it registers itself and not ConEmu?

BrenBarn avatar Oct 09 '17 04:10 BrenBarn

How do I override "open command window here" context menu to open in cmder instead of cmd in 2021?

mrx23dot avatar Sep 10 '21 16:09 mrx23dot