How does mongodb execute js scripts under windows?

  mongodb, question

I don’t know where to put js files.
I put it in bin directory or other directory, execute mongo –quiet insertAndRemvoe.js and then prompt the following results, ask how to do it to succeed, thank you! ! (The file name and cmd window are both insertAndRemvoe, they are both wrong, so they are the same ..)


It seems that insertAndRemove.js dialed the wrong number?
You became insertAndRemvoe.js?