Open ConEmu instead of CMD when typing "cmd"

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
NOH4
Junior Member
Junior Member
Posts: 11
Joined: 2009-10-25, 13:05 UTC

Open ConEmu instead of CMD when typing "cmd"

Post by *NOH4 »

I'm using https://conemu.github.io/ instead of windows native CMD.

However whenever I type CMD it always opens windows CMD. Is there a way to change that in totalcmd?
User avatar
Stefan2
Power Member
Power Member
Posts: 4281
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Post by *Stefan2 »

Where do you " type CMD " ?

AFAIK there is no setting which executable is executed in case of CMD command.
(But I think there was another such discuss not long ago, maybe you can find it by searching the forum)




Perhaps you can write an wrapper like this dummy code

COMEMU.cmd
@ECHO OFF
D:\rive\path\to\conemu.exe "%*"

and type COMEMU instead of CMD in future?



 
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

It is really interesting why you are expecting ComEmu to be started when you start cmd.exe and not ConEmu.exe. You should type conemu in order to start ConEmu instead of cmd.

Also it is possible to create an alias cmd for starting ConEmu under Configuration/Misc settings dialog.
nadav.sagi
Junior Member
Junior Member
Posts: 13
Joined: 2012-01-28, 11:46 UTC

Re: Open ConEmu instead of CMD when typing "cmd"

Post by *nadav.sagi »

NOH4 wrote:I'm using https://conemu.github.io/ instead of windows native CMD.

However whenever I type CMD it always opens windows CMD. Is there a way to change that in totalcmd?
Create a new key named "cmd.exe" under:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths

in the (Default) value enter the path to ConEmu.exe
Post Reply