title: MongoDB installation error-INSTALL_FAILED- dbpath (C:\mongodata) does not exist
body: <p>I am trying to install MongoDB in my windows and getting the above error in my command prompt after typing the command:</p>
  <pre><code>mongod --dbpath &quot;C:\mongodata&quot;
  </code></pre>
  <p>But getting this error:</p>
  <blockquote>
  <p>ERROR: dbpath (C:\mongodata) does not exist.  Create this directory or give existing directory in --dbpath.  See <a href="http://dochub.mongodb.org/core/startingandstoppingmongo" rel="nofollow noreferrer">http://dochub.mongodb.org/core/startingandstoppingmongo</a></p>
  </blockquote>
  <p>What am I doing wrong here?</p>