Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Typing "devenv.exe" in my system's Run dialog starts VS 2008. I also have VS 2010 installed. How can I start VS 2010 from the Run dialog? I'm running Windows XP.

share|improve this question

migrated from Jul 18 '11 at 17:38

This question came from our site for professional and enthusiast programmers.

Neither should start on XP, it should complain that it cannot find the program. Looks like the PATH environment variable in your system environment got tinkered with. The VS installer doesn't mess with it. Control Panel + System + Advanced + Environment variables to fix (iirc). Logout + Login to make it effective.

Consider a desktop or quick launch shortcut.

share|improve this answer

Change the order of VS 2008 and 2010 directories in your PATH environment variable (if 2008 was installed before 2010, its directory is probably earlier in the PATH, so devenv.exe from 2008 is excuted). In Win XP, that would be My computer -> Properties -> Advanced -> Environment variables.

share|improve this answer

You must log in to answer this question.