Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7068921
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:22:57+00:00 2026-05-28T05:22:57+00:00

I am trying to install mongodb on my local computer. I have windows 7

  • 0

I am trying to install mongodb on my local computer. I have windows 7 and 64 bit. I am following these instructions which are given on mongo’s website:

64-bit binaries:

Download and extract the 64-bit .zip.

Unzip the downloaded binary package to the location of your choice. You may want to 
rename mongo-xxxxxxx to just "mongo" for convenience.

Create a data directory:

By default MongoDB will store data in \data\db, but it won't 
automatically create that folder, so we do so here:

    C:\> mkdir \data
    C:\> mkdir \data\db

Or you can do this from the Windows Explorer, of course.

If you prefer to place datafiles elsewhere, use the --dbpath command line parameter 
when starting mongod.exe.  Run and connect to the server

The important binaries for a first run are:

    mongod.exe - the database server. Try mongod --help to see startup options.
    mongo.exe - the administrative shell

To run the database, click mongod.exe in Explorer, or run it from a CMD window.

    C:\> cd \mongodb\bin
    C:\mongodb\bin> mongod

Note: It is also possible to run the server as a Windows Service. But we can do that 
later.

When i follow these steps i get the following error:

'C:\' is not recognized as an internal or external command, operable program or batch 
file.

I am not sure what is going wrong i have followed the direction exactly. I extracted the zip file on my c drive as mongodb. I then created the folder data on my c drive and the folder db inside the data folder. I start the windows cmd line and do as they suggest and i get the above error. Can anyone help please. Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:22:58+00:00Added an answer on May 28, 2026 at 5:22 am

    Don’t type the C:\>, that’s the command prompt.

    For example, just type:

    cd \mongodb\bin

    and then press enter.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to install Fan-of-Mongo a web admin for MongoDB which is based
Trying to install Gitolite on a Media Temple DV server following these instructions .
Trying to install RMySQL on 64-bit Windows 7. Using R-2.14.2 with Rtools214 and MySQL
When i try to install mongodb as a windows service using the following command:
Trying to install rattle on a windows server 2008 R2 64bit machine, using 64-bit
Trying to install various packages on a Windows 7 64 bit and learned that
When trying to install the ADT plugin following Android Developper Site' instructions on a
When trying to install my 32bit service on a Windows 64bit machine my installer
I'm trying to install Laconica , an open-source Microblogging application on my Windows development
trying to install gdata python library client,receiving following errors: running install running build running

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.