To start a mongodb, following are the commands:
Command used to start the mongod.exe is running for connections,
C:\Mongo\mongodb-win32-x86_64-2008plus-2.4.8\bin>mongod.exe --dbpath "c:\Mongo\data"
Command to run the mongodb,
C:\Mongo\mongodb-win32-x86_64-2008plus-2.4.8\bin>mongo.exe
Command used to start the mongod.exe is running for connections,
C:\Mongo\mongodb-win32-x86_64-2008plus-2.4.8\bin>mongod.exe --dbpath "c:\Mongo\data"
Command to run the mongodb,
C:\Mongo\mongodb-win32-x86_64-2008plus-2.4.8\bin>mongo.exe