Where is mstest.exe located?

George Mauer picture George Mauer · Mar 3, 2010 · Viewed 44.1k times · Source

I need to run mstest from the command line - where in the world is this exe located? Can anyone give me a clue?

Edit: I only have Visual Studio 2010 installed

Answer

Joey picture Joey · Mar 3, 2010
for %x in (mstest.exe) do @echo.%~dp$PATH:x

from the Visual Studio Command Prompt is your friend. For me it's in

C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\