ConEmu-Inside or Embedding

The ‘Inside’ mode allows to run ConEmu-Maximus5 inside any other window.

Configuration for use inside Windows Explorer

The mode was inspired by the question ‘How to embed PowerShell into Explorer or Explorer-like tool’?

Add item ‘ConEmu Inside’ into Windows ‘Explorer’ context menu, it will open ConEmu as child window inside ‘Explorer’ window. It’s similar to ‘ConEmu Here’ - working folder will be current folder from ‘Explorer’ window.

All options on the Integration page of Settings dialog.

Group ‘ConEmu Inside’

You may create several Explorer’s context menu items and view/edit previously defined items (just choose desired item in the ‘Menu Item’ list).

Option ‘Sync current directory (Explorer > ConEmu)’

At the moment, the option is not stored in the Settings dialog, but written as ConEmu command line option when you press ‘Register’ button. While Inside mode StatusBar shows ‘Sync’ column to turn synchronization On/Off.

The idea of the option is that ConEmu will monitor current folder in the Explorer window and synchronize it with the shell, by executing cd /d ... in the console. You may define another command for other shell, for example if you use ‘bash’ the command may be: cd '\2'\n.

Note for WinXP/Win2k3. You have to show full active folder path in the Explorer window title.

Run from Explorer window

ConEmu Inside Explorer's window

In this mode ConEmu may be started from Explorer’s context menu. The default name of menu item is ‘ConEmu Inside’, but you may choose any other name, or create several items for different shells.

NB This mode requires some free space (Details, Preview or Status areas) to ‘inject’ terminal inside it.

OS Panel
Windows 2000 Unchecked
Windows XP
Windows 2003
The panel ‘Tip of the Day’.
Explorer’s menu ‘View’ > ‘Explorer Bar’ > ‘Tip of the Day’.
Windows Vista Unchecked
Windows 7 Increase the height of the status area or turn on preview area.
Windows 8 Turn on either ‘Preview pane’ or ‘Details pane’.

Hint If you hold ‘Shift’ pressed while starting ConEmu from menu item, ConEmu would start the console ‘As Administrator’.

If ConEmu was already started in the Inside mode, new console would be started as new ‘Tab’. But TabBar is not shown by default (you may turn it on in Settings), so you may switch tabs through clicks on the StatusBar’s field ‘ActiveCon/TotalCount’.

Run Inside third-party applications

ConEmu Inside third-party application

You (user or developer) may start ConEmu as child terminal window. The only thing you shall implement or provide is some child window, which ‘HWND’ you pass as ConEmu.exe switch -insidewnd 0xHWND when you run the terminal. HWND is hexadecimal window descriptor.

There is sample conemu-inside project which demostrates how you may create and control child terminal.

ConEmu command line switches

-inside Automatic mode. Used to run ConEmu in the Explorer window.
ConEmu will search for appropriate parent process window suitable to embed into.
-insidepid PID Same as ‘-inside’ but you define exact Process ID, in which window ConEmu must integrate.
PID is a decimal process identifier.
-insidewnd 0xHWND Directly specified window handle (HWND) to embed into. Unlike automatic mode ConEmu will cover all client area of this HWND.
HWND - window descriptor (hex).