How do I start two commands in .bat ?

Tue Jan 14 09:28:00 GMT 2003

Hello gurus,

In my ongoing process of starting ssh and vncviewer in one .bat
file, I have created the following:

rem @echo off
chdir C:\cygwin\bin
bash --login -i -c "ssh -L 5901:derqjzp:5900 -C isoft@derqjzp"
"/cygdrive/c/program files/realvnc/vncviewer.exe" &

I enter the isoft's password, and ssh is started.
vncviewer is not started.
How do I make vncviewer started ?

More information about the Cygwin-apps mailing list