while installing MongoDB on my windows 7 64-bit, when I execute command
C:\mongodb\bin\mongod.exe --dbpath d:\test\mongodb\data
it gives me error that switch dbpath
is not recognized and when I check in its help, I really cannot find this --dbpath
switch.
any help where i'm doing mistake?
It looks right, on my system (windows 10) the following command line works to set up up as a windows service.
from the help: