Can't connect to replycaset Windows 10

Hi team,
When I type this command on vagran I can’t connect to replicaset.

mongodb://m040:27017/m040?replicaSet=M040
-bash: mongodb://m040:27017/m040?replicaSet=M040: No such file or directory

Seems that everything is running ok.

Thx in advance,

Not clear what command you ran
Seems like a path issue or command is not correct
Add mongo path to your existing path
Please check our forums

If path issue it should say command not found
But it is saying file not found