Reader Level:
Coding Best Practices

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.
    • Like
    • Love It
    • Awesome
    • Interesting
    • It's Okay
    • Thumbs Down
  • 353.5k
  • 0

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.