Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Jul 18 '11 at 17:38

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

2 Answers 2

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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.