We need to do some modifications to the above line in order to be able to use it: remove %compspec%, escape the double quotes and replace each backward slash from the path with two forward slashes. As an example, this is what mine contains: 1 %comspec% /k "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" Select the Shortcut tab, if it is not already selected, and copy the content of Target in a new text file. Find the one named 圆4 Native Tools Command Prompt for VS 2019, right click on it and select Properties. This will open a folder in Windows Explorer, typically this folder will contain a couple of links to cmd.exe customized for development usage. If you’ve ever played with Windows Terminal you already know why it is nicer to use than the classical Command Prompt, a few examples: tabs, vertical and horizontal splits, a resizable window, zoom in and out, proper copy paste to and from the Terminal, background colors and a lot of other possible customizations.įrom the Windows Start menu, find Visual Studio 2019 → 圆4 Native Tools Command Prompt for VS 2019 and right click on it, chose More and select Open file location. My second assumption is that you’ve also installed the Windows Terminal, if this is not the case just open Microsoft Store, search for Windows Terminal and install it. By default, the installer will create a few links for using the development tools from the classical Windows Command Prompt and we are going to copy some settings from this to the Windows Terminal. In my case, I have installed the Community edition with the Desktop development with C++ workload. I will assume that you’ve already installed Visual Studio 2019 on your machine. In this article, I will show you how to use the Visual Studio command line compiler from the Windows Terminal. Solarian Programmer My programming ramblings Home Archives Contact Privacy Using the Visual Studio Developer Command Prompt from the Windows Terminal Posted on Octoby Paul
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |