Midnight Blue
Midnight Blue

Reputation: 5141

Permanently setting environment variables for VC command line environment

I am using VC command-line utilities (cl.exe), and I am getting annoyed by the fact that I have to manually run vcvars32.bat whenever I restart my console... Is there a way to automatically run a batch file on console start-up? Thanks!

P.S: I am using Visual Studio 2010 version on Windows 7.

Upvotes: 0

Views: 1351

Answers (2)

Midnight Blue
Midnight Blue

Reputation: 5141

Got it:

http://msdn.microsoft.com/en-us/library/ms229859.aspx

Click Start, point to All Programs, point to Microsoft Visual Studio, point to Visual Studio Tools, and then click Visual Studio Command Prompt.

Upvotes: 0

Gordon Tisher
Gordon Tisher

Reputation: 211

Check in the start menu under Visual Studio 2010/Tools or thereabouts; there should be a shortcut to a console that automatically runs the batch file.

Upvotes: 1

Related Questions