delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/07/11:22:01

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.1 required=5.0 tests=AWL,BAYES_20,HK_OBFDOM,SARE_MSGID_LONG40,SPF_PASS,TLD_CHINA
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <ns65r4ltvbbvbolpf8oojg0e9a8c8ln48j@4ax.com>
References: <ns65r4ltvbbvbolpf8oojg0e9a8c8ln48j AT 4ax DOT com>
Date: Sat, 7 Mar 2009 11:21:38 -0500
Message-ID: <f60fe000903070821l64ba53f6v24504c3367adb774@mail.gmail.com>
Subject: Re: Open a url by cygwin/bash script.
From: "Mark J. Reed" <markjreed AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Sat, Mar 7, 2009 at 11:09 AM, Hongyi Zhao wrote:
> I want to opena url, say http://http://www.google.cn by the system's
> default explorer, such as IE, =C2=A0from within a cygwin/bash script. =C2=
=A0What
> should I write this code?

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

--=20
Mark J. Reed <markjreed AT gmail DOT com>

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019