Open a url by cygwin/bash script.

Dave Korn dave.korn.cygwin@googlemail.com
Sat Mar 7 16:21:00 GMT 2009


Hongyi Zhao wrote:
> Hi all,
> 
> I want to opena url, say http://http://www.google.cn by the system's
> default explorer, such as IE,  from within a cygwin/bash script.  What
> should I write this code?
> 

  cygstart "http://www.google.cn"

  The "cygstart" utility can launch anything that you can type in the "Start
Menu" -> "Run" box.

    cheers,
      DaveK

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list