title: cmd cannot find mvn command
body: <p>I just installed Maven and added the <code>\bin</code> directory of maven to my path variables. When I try to use the <code>mvn</code> command in the Command Prompt I just get a message:</p>
  
  <blockquote>
    <p>mvn: command not found</p>
  </blockquote>
  
  <p>Everything else I found on here did not help yet.</p>
  
  <h2>Edit:</h2>
  
  <p>I used <a href="https://maven.apache.org/install.html" rel="nofollow noreferrer">https://maven.apache.org/install.html</a> to install maven.</p>
  
  <pre><code>SET PATH=%PATH%;C:\Program Files\Maven\apache-maven-3.5.0\bin\mvn.cmd
  PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
  </code></pre>