Console 2 — A tabbed console window

If you are like me and hate having four console window icons pinned to your taskbar then you’ll like Console-2.

The four console windows are:

  1. Normal DOS Shell (cmd.exe).
  2. Visual Studio 2008 Command prompt.
  3. Visual Studio 2010 Command prompt.
  4. Git Bash

The first tab when i run the program is the Windows Command shell with the prompt set to >. This gives me plenty of room to type my commands without the directory path getting in my way. To achieve that, i had to go to Edit > Settings > tabs. Changed the title of the default tab to CMD and added the following:

Shell : C:\Windows\System32\cmd.exe /k “set prompt=$g”

The /k switch lets you run a command, enclosed within quotes on the shell when it starts up.

Then added 3 more tabs and named them VS 2008, VS 2010 and Git bash respectively. Following is how their shell configuration commands look like:

For VS 2008

Shell               :   cmd.exe /k C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86
Start up directory  :   "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\"

For VS 2010

Shell               :   cmd.exe /k C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat”&set prompt=VS 2010 $g
Start up directory  :   "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\"

and For Git Bash (assuming you have Git Bash installed on your box)

Shell               :   C:\Windows\SysWOW64\cmd.exe /c C:\Program Files (x86)\Git\bin\sh.exe" –login -i
Start up directory  :   %HOMEDRIVE%%HOMEPATH%

Clicked Save settings to user directory” checkbox, hit save and I had all three shells combined. This is how it looks like, when i right click on the console now:


August 28, 2011 · Utilities · Windows

Next:Clean sources Plus