| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-0.4 required=5.0 tests=AWL,BAYES_00,HK_OBFDOM,SPF_PASS,TLD_CHINA |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <49B2A14B.6080305@gmail.com> |
| Date: | Sat, 07 Mar 2009 16:31:07 +0000 |
| From: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
| User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Open a url by cygwin/bash script. |
| References: | <ns65r4ltvbbvbolpf8oojg0e9a8c8ln48j AT 4ax DOT com> |
| In-Reply-To: | <ns65r4ltvbbvbolpf8oojg0e9a8c8ln48j@4ax.com> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |