I have not used any space in the command while usuing the --mongoexport command in mongo shell. Please see the screen shot. In the forum I use space intentionally to clarify two - - lines. I use --db not - -db in mongo shell.
Why did you advise me to put the command on notepad and remove the spaces before each parameter and run the command again ?

