开发者

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 201开发者_如何转开发0 version on Windows 7.


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜