I am new in mongodb I have a file homework2.js which I want to load in mongodb, I have tried both method
load("homework2.js")
load("c:mongodbscripthomework2.js")
I have installed mongodb in root c drive in mongodb folder and database path c:mongodbdatadb. I want to confirm which folder I will put this file and what command to load the said file.