title: Windows Environment Variable not working if different drive
body: <p>I could be over-simplifying the cause but I'm trying to set up <code>mongo</code> and <code>mongod</code> to run via their single word command.</p>
  
  <p>I have made 2 Environment Variables.
  <code>mongo:"C:\Program Files\MongoDB\Server\3.4\bin\mongo.exe"</code></p>
  
  <p>and </p>
  
  <p><code>mongod:"C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe"</code></p>
  
  <p>However, when I try to run either command from anywhere besides <code>C:\Program Files</code> it just says <code>mongod is not a recognized command</code> etc etc.</p>
  
  <p>Am I missing something special about how EnvVars work with Windows?</p>
  
  <p>I was thinking it might be drive related since my projects are on D: but that didn't make sense as if I run the command <code>"C:\Program Files\MongoDB\Server\3.4\bin\mongod.exe"</code> it'll work without issue.</p>