How do I start two commands in .bat ?

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Jan 14 13:18:00 GMT 2003


Wrong list, redirected to cygwin@cygwin.com.

Corinna

On Tue, Jan 14, 2003 at 10:28:11AM +0100, a12 wrote:
> 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 ?

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list