0

I need to open a legacy app which requires a standard cmd.exe
I would like to be able to spawn it from a batch file (.bat) and run it from command line in ConEmu
Don't see a way to do that.
start and cmd open a new tab in ConEmu at best - while I need the legacy cmd.exe window.

ragi
  • 1
  • 4

1 Answers1

0

OK, it looks like I found a way - rather non-obvious but it seems to work:

[start] conhost cmd /c <your command>

or (if you want cmd window to continue beyond the execution of your command):

[start] conhost cmd /k <your command>

start in front is optional (useful if you don't want to block the original conemu terminal until completion of your command).

ragi
  • 1
  • 4