devenv C:\Users\Alxe\Desktop\newFolder\Console.cpp /command "GotoLn 25"
The above command when executed, will launch the visual studio IDE and open Console.cpp file and go to Line 25, what I wanted is to open console.cpp file on an already running Visual studio instance(assuming that project folder has console.cpp file) and go to Line 25. Is there other way to do it?
My motive was to run a .bat file having the commands above from another application.