We help IT Professionals succeed at work.
Get Started

visual studio command line

504 Views
Last Modified: 2012-05-05
I am trying to automate a visual studio 2008 build through the command line.  I perform the following actions in a batch file to get the visual studio command line "plug-in" commands to work:

cd c:\Program Files\Microsoft Visual Studio 9.0\VC
vcvarsall.bat

My problem is that after I run this command, it will not run any further command line arguments from a batch file.  It's odd, because I can manually enter commands after the above lines have run.

I have to have commands following the above commands in a batch file.  Is this possible?  Has anyone ever seen this before?
Comment
Watch Question
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE