Setting.js is not opening

hi,
I want to add login and password to my node red dashboard but when i open setting file it is showing error how to solve the issue
setting.js node red fail

dont double click it - on windows that try's to execute the JS.

Instead, right click open with --> notepad

Or better still, install a proper editor like vscode

then i try in command promt and write settings.js then it is also giving same error

If you are just writing settings.js in the terminal and hitting enter, then you are trying to run it. Don't do that. You need to open it in an editor, such as notepad as @Steve-Mcl has described.

how will i creat bcrypt password while using windows10 for my login

Its detailed in the docs.

https://nodered.org/docs/user-guide/runtime/securing-node-red#generating-the-password-hash