Change Default Visual Studio Command Prompt Locati

2019-06-15 19:26发布

How to set the default visual studio command prompt location so that I can go straight to my project's directory instead of using the usual navigation.

7条回答
爷的心禁止访问
2楼-- · 2019-06-15 20:10

Navigate to the "vcvarsall.bat" file. For me the path is:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat

Add this line to the bottom of the script:

cd /d "D:\WhereverYouWant"

skol

查看更多
登录 后发表回答