vs2015 command prompt here

Posted 冷欺花

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了vs2015 command prompt here相关的知识,希望对你有一定的参考价值。

网上搜的很多方法都不能用,比如:http://app.paraesthesia.com/CommandPromptHere/

主要是都搞错了注册表路径,写成了:

HKCR,Directory\Shell

而正确的应该是

HKCR,Directory\Background\Shell

多了一个Background,也不知是不是老外的系统跟我们的有差异。另外在命令行参数上也有些不对

 

综合改了一下,现在贴出在我的win7 64位系统上能用的版本:

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\VS2015DevCmdHere]
@="vs2015"

[HKEY_CLASSES_ROOT\Directory\Background\shell\VS2015DevCmdHere\command]
@="cmd.exe /v:on /k \"!VS140COMNTOOLS!VsDevCmd.bat\""

以上是关于vs2015 command prompt here的主要内容,如果未能解决你的问题,请参考以下文章