I have installed SQL 2008 R2, and then I installed SSMS for that server.
After a few months, I've installed SQL Server 2012 and its SSMS.
Location of theese tools are different in file system, logically.
But, when I type in CMD next command: SSMS.EXE
, and hit Enter, I always get SSMS for 2008 opened.
How can I open SSMS for 2012 using cmd? Is there some option which I missing?
your system path variable is pointing to the 2008 version, either you change it there or you have to use a full qualified path
i.e. c:\installdir2012\ssms.exe