Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Right now, due to installing various commandline programs, I've got 3 different modified CMD prompts that I use during development.

One handles git and all of its functionality. One handles Mono And one handles PostgreSQL

And I can see myself adding more to the stack later on.

Is there a way to combine the functionality of all of these into a single cmd prompt?

I think the fact that Git runs out of a .bat file instead of the standard CMD.exe + PATH modifiers is what makes this tough.

Any ideas?

share|improve this question
up vote 2 down vote accepted

You'll probably be able to do this by just modifying your environment variables. Go to Control Panel → System → Advanced → "Environment Variables..." to configure them.

I use Git (msysgit) from an unmodified command prompt. All it requires are these environment variables:

PATH contains C:\path\to\Git\cmd
GIT_SSH=C:\Path\to\Plink.exe      (for GitHub)

I believe the only thing the Mono command prompt needs is for your PATH to contain Mono's \bin folder, and PostgreSQL needs its installation path there as well.

Try adding these variables, then open a new command prompt and see if it works as expected. Be careful, especially when modifying PATH, since this can have far-reaching implications. If your PATH currently looks like:


Be sure to only add on to the end of it:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files\Git\cmd;C:\Program Files\Mono\bin;C:\Path\to\PostgreSQL
share|improve this answer
Perfect. Thanks. – andrewheins Oct 4 '10 at 18:10

All these CMDs are basically invocations of the same old cmd.exe thru bat files, who set all sort of environmental variables.

You do need these bat files, which can change with the installation of new versions.

So, in my opinion, there is no magic solution.
To make the bat files more available, you can copy the shortcuts to the desktop (or elsewhere).

share|improve this answer

Not exactly what you are asking for, but you can use Console2 to make them tabs within the same window. I usually get rid of all the toolbars apart from the tab bar.

alt text

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.