'mongo' is not recognized as an internal or external command

After updating the system environment variables I am getting the following message:
C:\Users\ydesc>mongo --nodb
‘mongo’ is not recognized as an internal or external command,
operable program or batch file.

Any idea what the issue might be?

Please show us information of your environment path.

I had forgotten to include a \ at the end of the path, and then it looks like I had to close/reopen the command prompt for it to work…It is working now.

2 Likes

i am getting same problem , where do i need to put \ . please suggest me

I solved the problem i write the path in environment variable then suddenly close it. so path was not saved , I again re check and issue solved