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

(mflix) C:\Users\Dell\Downloads\mflix-python>MFLIX_DB_URI = mongodb+srv://m220student:m220password@mflix.v6tat09.mongodb.net/?retryWrites=true&w=majority
'MFLIX_DB_URI' is not recognized as an internal or external command,
operable program or batch file.
'w' is not recognized as an internal or external command,
operable program or batch file.

Help me to resolve it…

Looks like you are declaring a variable but it is getting executed?
Use set to declare the variable or you may have to enclose the string in quotes
Could be due to space after “=”

1 Like

Hey @Hemanth_Reddy,

Welcome to the MongoDB Community Forums! :leaves:

Just building on from the suggestions given by @Ramachandra_Tummala, I don’t think you are supposed to write the URI in the terminal. Learners are supposed to enter the URI string in the .ini file. Kindly read the instructions in README: Setting Up mflix in chapter 0 for more details.

Let us know if the problem still persists. Please feel free to reach out for anything else as well.

Regards,
Satyam