This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How do I start two commands in .bat ?


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 ?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]