Chitika

Friday, December 14, 2012

Open Specific Version of Visual Studio from Run Command Prompt

In my previous article i have show you how to open visual studio from Run command prompt.
When you type devenv it will open the latest version of visual studio until you change the registry entries.

To open specific version you have to follow the below steps

  1. Press windows + r it is open run window and then write "regedit" which is open your PC registry.
  2. Then go to HKEY_LOCAL_MACHINE -> SOFTWARE -> Microsoft -> Windows -> Currentversion -> App Paths -> devenv.exe
  3. Click on devenv.exe and change the value of default.
When you open default if visual studio 2010 is installed, it has value like 
C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\devenv.exe
To open visual studio 2008 change it to 
 C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe
To open visual studio 2005 change it to 
 C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe
You need to change the value to your other installation, maybe 
After completed above steps, when you run devenv command it is open the version you specified. 

While changing the entry if you get error saying "can't edit" it means that you don't have permission to change, ask your administrator to change it.


Happy Programming...

Start Visual Studio From Run Command Prompt

This is the short cut to open the visual studio 
Open Run Command Prompt(Start->Programs->Run or Windows Logo + R) and type the text given below.

 devenv : Opens Visual Studio IDE With Splash Screen.
 devenv /nosplash : Opens
Visual Studio IDE Without Splash Screen.
 

If using Visual web developer Express Edition,

 type vwdexpress 

This helps me a lot in starting
Visual Studio IDE. Hope it might help you all.