Developer Command Prompt For Visual Studio - Microsoft Docs
Developer Command Prompt For Visual Studio - Microsoft Docs
In this article
Search for the command prompt on your machine
Manually locate the files on your machine
Run the command prompt from inside Visual Studio
See also
The Developer Command Prompt for Visual Studio enables you to use .NET Framework
tools more easily. It is a command prompt that automatically sets specific environment
variables.
In Windows 10
1. In the search box on the taskbar, start typing the name of the tool, such as dev or
developer command prompt . This brings up a list of installed apps that match your
search pattern. If you're looking for a different command prompt, try entering a
different search term such as prompt .
2. Choose the Developer Command Prompt for Visual Studio (or the command
prompt you want to use).
In Windows 8.1
https://docs.microsoft.com/en-us/dotnet/framework/tools/developer-command-prompt-for-vs 1/4
21/9/2019 Developer Command Prompt for Visual Studio | Microsoft Docs
1. Go to the Start screen, by pressing the Windows logo key on your keyboard for
example.
2. On the Start screen, press Ctrl+Tab to open the Apps list, and then enter V . This
brings a list that includes all installed Visual Studio command prompts.
3. Choose the Developer Command Prompt (or the command prompt you want to
use).
In Windows 8
1. Go to the Start screen, by pressing the Windows logo key on your keyboard for
example.
3. Choose the Apps view icon at the bottom of the screen and then enter V . This
brings a list that includes all installed Visual Studio command prompts.
4. Choose the Developer Command Prompt (or the command prompt you want to
use).
In Windows 7
1. Choose Start, expand All Programs, and then expand Microsoft Visual Studio.
2. Depending on the version of Visual Studio you've installed, choose Visual Studio
Tools, Visual Studio Command Prompt, or the command prompt you want to
use.
If you have other SDKs installed, such as the Windows 10 SDK or previous versions, you
may see additional command prompts for ARM, x86, or x64 architectures. Check the
documentation for the individual tools to determine which version of the command
prompt you should use.
3. On the External Tools dialog box, choose the Add button. A new entry appears.
4. Enter a Title for your new menu item such as Command Prompt .
5. In the Command field, specify the file you want to launch, such as %comspec% or
C:\Windows\System32\cmd.exe .
6. In the Arguments field, specify where to find the specific command prompt you
want to use such as /k "C:\Program Files (x86)\Microsoft Visual
Studio\2017\Enterprise\Common7\Tools\VsDevCmd.bat" (this command launches the
Developer Command Prompt that is installed with Visual Studio 2017 Enterprise).
Change this value according to your Visual Studio version, edition, and installation
location.
7. Choose a value for the Initial directory field, such as Project Directory.
The new menu item is added, and you can access the command prompt from the
Tools menu.
https://docs.microsoft.com/en-us/dotnet/framework/tools/developer-command-prompt-for-vs 3/4
21/9/2019 Developer Command Prompt for Visual Studio | Microsoft Docs
See also
Tools
Managing External Tools
Yes No
https://docs.microsoft.com/en-us/dotnet/framework/tools/developer-command-prompt-for-vs 4/4