|||

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:

sc


Up next Clean sources Plus If you are like me and you develop a lot of small Visual Studio Solutions that need to be checked into SVN then you’ll love this tool. I found it on
Latest posts Refactor react code to use state store instead of multiple useState hooks Notes on Python Threat Modelling - Using Microsoft STRIDE Model WCAG - Notes Flutter CI/CD with Azure Devops & Firebase - iOS - Part 1 Flutter CI/CD with Azure Devops & Firebase - Android - Part 2 How to samples with AWS CDK A hashicorp packer project to provision an AWS AMI with node, pm2 & mongodb Some notes on Zeebe (A scalable process orchestrator) Docker-Compose in AWS ECS with EFS volume mounts Domain Driven Design Core Principles Apple Push Notifications With Amazon SNS AWS VPC Notes Building and Deploying apps using VSTS and HockeyApp - Part 3 : Windows Phone Building and Deploying apps using VSTS and HockeyApp - Part 2 : Android Building and Deploying apps using VSTS and HockeyApp - Part 1 : iOS How I diagnosed High CPU usage using Windbg WCF service NETBIOS name resolution woes The troublesome Git-Svn Marriage GTD (Getting things done) — A simplified view Javascript Refresher Sharing common connection strings between projects A simple image carousel prototype using Asp.net webforms and SignalR Simple logging with NLog Application logger SVN Externals — Share common assembly code between solutions Simple async in .net 2.0 & Winforms Clean sources Plus Console 2 — A tabbed console window