'load' is not recognized as an internal or external command, operable program or batch file

You have to run the load command at mongo prompt
Please connect to mongo and then run as below.It should work
MongoDB Enterprise Cluster0-shard-0:PRIMARY> load(“loadMovieDetailsDataset.js”)
true---->means success

Hi @Qurrata_39943,

As @Ramachandra_37567 mentioned you have to launch the mongo in this directory then execute the load command.

mongo <Your sandbox connection string>

load(“loadMovieDetailsDataset.js”)

If you still have any other issue, feel free to get back to us. Happy Learning :slight_smile:

Thanks,
Shubham Ranjan
Curriculum Support Engineer

Thank you, I have solved it! I forgot to connect to mongo

Hi @Qurrata_39943,

That’s wonderful. If you ever get stuck in any topic, feel free to get back to us. Happy Learning :slight_smile:

Thanks,
Shubham Ranjan
Curriculum Support Engineer