Question: first, just as an information point, I was not able to do anything with windows command prompt or the power shell, in my version of windows. Both said ‘not a command’ no matter how I said it. So, I had to use more direct means, that seem simpler to me:
To invoke the mongo shell, I found two ways: I first went directly to the …\mongoDB …4.2\bin and opened the mongo executable. Then pinned it to my taskbar. It opens and quits just fine but there is no option for --nodb that way.
So, back at the command line, I second did a change directory
cd C:\Program Files\MongoDB\Server \4.2\bin
and THEN invoke mongo --nodb from this directory, it works as the course said it should.
Here is question: will I be able to use the pinned mongo shell on my taskbar, or will I need to use the change directory method to invoke mongo from the command line to make it work correctly for the course? Did I miss something in the lesson where it said I needed to do a cd first?