This is the mail archive of the cygwin 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]

Re: Open a url by cygwin/bash script.


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/


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