Launching winbox from command line, passwords with spaces

Hi all,

I know it’s possible to launch winbox from the command line like this:

winbox 192.168.0.1 admin password

However, I get a “Wrong username or password” error if the password has a space character. I’ve tried using quotes, and also tried substituting _ , %20 , and \20 for the space, but none work. Any ideas?

Thanks,
Jared

Although this doesn’t directly answer my own question, I found that simply typing

winbox <IP address or hostname>

is enough to connect, and logs in without prompting for username and password, as long as there is an entry in winbox.cfg that exactly matches the host.