password option on command-line for vncviewer

Sir Jo sergio "at" sirjo.com
Sun Nov 11 18:50:01 2007


Hi mailing-list   :-)

I want to connect to a server using command-line.

If I try this, it works
vncviewer.exe myserver.com
but appeare a box that ask to me the password, and I need to insert it.

How I need to insert password into command-line ??

I have try these, but it don't works !!!

vncviewer myserver.com -password mypassword
vncviewer myserver.com -passwd mypassword
vncviewer myserver.com /password mypassword
vncviewer myserver.com -password mypassword
vncviewer myserver.com password=mypassword

:-(

Is it possible to call vncviewer.exe with password option ???

Many thanks for your answer.
Sergio - Italy