设置Visual Studio 2008 command prompt

What I wanted in Studio

设置Visual Studio 2008 command prompt

Steps:

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

设置Visual Studio 2008 command prompt

  • Click "Add"

设置Visual Studio 2008 command prompt

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

设置Visual Studio 2008 command prompt

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:

设置Visual Studio 2008 command prompt

设置Visual Studio 2008 command prompt

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