This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Open a url by cygwin/bash script.
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: cygwin at cygwin dot com
- Date: Sat, 07 Mar 2009 16:31:07 +0000
- Subject: Re: Open a url by cygwin/bash script.
- References: <ns65r4ltvbbvbolpf8oojg0e9a8c8ln48j@4ax.com>
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/