title: Running unit tests outside of VS developer command prompt?
body: <p><strong><em>Question Background:</em></strong></p>
  
  <p>I have produced a batch file that runs the .dll of my unit test project. Running this in the Visual Studio developers command prompt works perfectly. I now want to be able to run this batch file through the standard MS-DOS command prompt.</p>
  
  <p><strong><em>The issue:</em></strong></p>
  
  <p>this is the current batch file command:</p>
  
  <pre><code>cd C:\Users\Me\Desktop\WebService\CalcUnitTests
  
  MSTest/testcontainer:C:\Users\Me\Desktop\WebService\Calc\CalcUnitTests\bin\Debug\CalcUnitTests.dll
  </code></pre>
  
  <p>Running the above batch file command on the MS-DOS NON-Developer prompt produces an error of:</p>
  
  <pre><code>'MSTest' is not recognized as an internal or external command, operable program or batch file.
  </code></pre>
  
  <p><strong>How can I run the above batch file through the standard command prompt?</strong> Any info would be most helpful.</p>
  
  <p><strong><em>Edit:</em></strong></p>
  
  <p>I have now updated my Environment variables but still recieve the same unrecognized 'MSTest' error when running the batch file:</p>
  
  <p><img src="https://i.stack.imgur.com/o8ykP.jpg" alt="enter image description here"></p>