Reader Level:

Running the command prompt from visual studio tools menu

By Matthew Cochran on Jan 17, 2008
This article tells you how to run visual studio command prompt from inside the visual studio.

What I wanted in Studio


  • Open Visual Studio
  • Go To "Menubar -->  Tools -->  External Tools"

  • Click "Add"

Enter Information:

Visual Studio 2008 Command Prompt
Command: cmd.exe
Arguments: %comspec% /k ""C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86

Click "Ok" and you are done.

Note: If you have a different installation directory, the arguments you need will probably be different. You can check the properties of the shortcut to the Visual Studio Command Line just to be sure: 

I hope you find this shortcut as useful as I did.

Matthew Cochran
Matthew Cochran

Software Architect, Team Lead, Engineer. Twitter: @Matt_Cochran



Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.

Trending up

Infragistics jQuery Controls