How do I prevent ConEmu auto-attaching to every single cmd.exe?

3

1

I don't want ConEmu to attach to every cmd I open, but this is how it works now. I remember that I told ConEmu to do this, but I don't want it anymore. Maybe I just overlooked something, but I've read all the settings pages and I couldn't find an option to disable it. Am I missing something?

How do I prevent ConEmu from attaching every single cmd.exe I open?

My ConEmu version is 121109 x86, on winXPproSp3x86.

n611x007

Posted 2012-11-14T22:54:02.750

Reputation: 5 291

Answers

3

Settings -> Startup -> ComSpec

Press "Unregister" button.

Maximus

Posted 2012-11-14T22:54:02.750

Reputation: 19 395

Doesn't seem to work in current ConEmu. Even if "C:\Program Files (x86)\clink\0.4.7\clink.bat" inject --autorun --profile ~\clink is the current content, it is still auto attached. It seems that there is some other setting. Maybe, I have chosen once to attach a cmd.exe window and that is stored at other places in the config – koppor – 2016-07-18T13:08:57.307

I was overlooking it after all! Thank you very much! – n611x007 – 2012-11-15T00:11:33.573

1

I came here looking for an answer to why doing:

Start-Process powershell.exe '.\MyScript.ps1'

within PowerShell in a ConEmu would launch it in a new ConEmu tab rather than cmd.exe (ComSpec).

To stop ConEmu from doing this, within Settings → Features, under "In-console options", untick "Inject ConEmuHk".

Tahir Hassan

Posted 2012-11-14T22:54:02.750

Reputation: 305