Steam – How to use the ‘-login’ parameter in Steam’s launch options? It only shows me the username, not the password

steam

I have one PC, one Windows user, two Steam accounts and want to change between them without having to enter the password each time. They don't have authenticator so that's a win-win.

I saw in another post that there was a command-line parameter to put in Steam's shortcut properties: -login %u %p, but here is the fun part, when I do -login %username %password, it opens Steam with %username in the text box and nothing on the password text box. So I remove the % and only the username appears in the Steam text box but nothing on the password. That has been my struggle, and I was wondering if anyone knows how to fix this.

Best Answer

I've just found out that the password can't contain spaces or else it will bug the whole thing.