ARTICLE

Running the command prompt from visual studio tools menu

Posted by Matthew Cochran Articles | Coding Best Practices January 17, 2008
This article tells you how to run visual studio command prompt from inside the visual studio.
Reader Level:

What I wanted in Studio


 
Steps:

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

  • Click "Add"

Enter Information:

Title:
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.

Login to add your contents and source code to this article
post comment
     

hi man tanks a lot ..u did a great job ...keep it up...

Posted by karthick manoharan Feb 21, 2012

Thanks

Posted by Sergey Migalnikov Jan 11, 2012

is this 4 c# 2005 express edition? cause im getting .cmd errors?

Posted by don one Apr 04, 2011

Just what I was looking for, clearly explained.

Posted by Mark Mar 24, 2011

Thanks bud Really helpful

Posted by Stewart McGee Aug 05, 2010
COMMENT USING
PREMIUM SPONSORS
Over-C is a holistic consortium of communications and technology specialists. We build, deploy and market both business as well as consumer products and solutions.
SPONSORED BY
  • PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.
Get Career Advice from Experts