I have three different versions of Visual Studio installed on my machine, Visual Studio 2003, Visual Studio 2008, and VS2005.
How do I start a particular version of Visual Studio using a command prompt.
devenv.exe
opens the latest version of Visual Studio. What should I do if I want to open Visual Studio 2003 using a command prompt?
On the Start screen, press Ctrl+Tab to open the Apps list, and then press V. This brings up a list that includes all installed Visual Studio command prompts.
If you have Visual Studio open, go to Tools > Get Tools and Features... which opens the Visual Studio Installer. Or, open the Visual Studio Installer from the Start menu.
To get an overview of the VS Code command-line interface, open a terminal or command prompt and type code --help .
Haven't tested on preceding versions - but to launch Visual Studio 2019 you can just enter start devenv
to launch right away without entering into a path
You have to use the path to distinguish them. For instance, here is the Visual Studio 2005 command on my laptop:
"C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe"
Here's another tip: You can figure out how to run various Windows applications from the command line by finding them in the Windows Start Menu, right-clicking on the icon, select properties, and then on the Shortcut tab, look at the Target textbox. Copy that text out and usually you can use it at a console command line.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With