c++ - 如何解决 'devenv' 不是内部或外部命令,也不是可运行的程序 或批处理文件?
PHP中文网
PHP中文网 2017-04-17 15:16:22
0
3
3992

每次都要在控制台进入VS的VC目录然后运行vcvarsall.bat才能使用devenv,怎么设置才能在任意地方都使用devenv命令呢?

PHP中文网
PHP中文网

认证0级讲师

reply all(3)
左手右手慢动作

Add the devenv directory path to the system environment variable path

Ty80

The easiest way is to generate a shortcut and put it on the launch bar or desktop. If the shortcut in the picture below is
, just click the icon when using it.

Ty80

I use Powershell + PSCX. PSCX has an ImportVisualStudioVars command. Add it to your personal ps configuration and open powershell to use it

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template