6

The command

C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe C:\PATH\TO\file.txt

opens a new instance of MS VS. I want to open files in an already opened VS, where I have my project defined and opened.

Is it possible?

Rich
  • 5,603
  • 9
  • 39
  • 61
noisy
  • 6,495
  • 10
  • 50
  • 92

1 Answers1

6

Try using the /edit switch

Look here: http://msdn.microsoft.com/en-us/library/xee0c8y7(v=vs.100).aspx

Opens the specified files in a running instance of this application. If there are no running instances, it will start a new instance with a simplified window layout.

Drew Noakes
  • 300,895
  • 165
  • 679
  • 742
granaker
  • 1,318
  • 8
  • 13