Adding Command Promt manually in toolbox in VS 2008 express edition

India Programmer

India Programmer

Jan 18 2010 4:11 AM
Hi all,
To add the Command prompt in VS 2008 express edition,  i have done the following steps:
Tools->ExternalTools->Click on Add-> Then I have entered the following 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
Initial Directory: $(ProjectDir)
Then OK/Apply:

I have tried this way aslo.. but got the same result...
  1. Title: Cmd
  2. Command:  %comspec%
  3. Arguments: /k ""C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86
  4. Initial Directory: $(ItemDir)

After this when i went to Tools Menu and click on Visual Studio 2008 Command Prompt, command prompt open but got the following error message:
'"C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"' is not recogni
zed as an internal or external command,
operable program or batch file.

Note: "vcvarsall.bat" this file is not found any where in my computer.
Pls somebody help me to fix this problem.. Or somebody teach me freshly how to add command prompt in Tools Menu manually in VS 2008 Express Edition.


Answers (5)