From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14697 invoked by alias); 20 Dec 2016 23:32:15 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 14685 invoked by uid 89); 20 Dec 2016 23:32:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=Lee, moss, Hx-languages-length:881, andrey X-HELO: mailsrv.cs.umass.edu Received: from mailsrv.cs.umass.edu (HELO mailsrv.cs.umass.edu) (128.119.240.136) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 20 Dec 2016 23:32:13 +0000 Received: from [192.168.0.3] (c-24-62-203-86.hsd1.ma.comcast.net [24.62.203.86]) by mailsrv.cs.umass.edu (Postfix) with ESMTPSA id 43A5C4016B9D; Tue, 20 Dec 2016 18:32:11 -0500 (EST) Reply-To: moss@cs.umass.edu Subject: Re: open IE from command line References: <0D835E9B9CD07F40A48423F80D3B5A704BBD5906@USA7109MB022.na.xerox.net> <149633121.20161221013826@yandex.ru> To: cygwin@cygwin.com From: Eliot Moss Message-ID: <703960af-96c6-0412-d5a0-35a9d8c169c6@cs.umass.edu> Date: Tue, 20 Dec 2016 23:32:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: <149633121.20161221013826@yandex.ru> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-12/txt/msg00207.txt.bz2 On 12/20/2016 5:38 PM, Andrey Repin wrote: > Greetings, Lee! > >>> How to open a web page (remote or local) or launch IE from the mintty/bash >>> command line? >>> >>> I've tried the following: >>> >>> $ cygstart "http://www.google.com" >>> $ cygstart index.html # local page >>> $ "/cygdrive/c/Program Files/Internet Explorer/iexplore.exe" >>> $ cygstart "/cygdrive/c/Program Files/Internet Explorer/iexplore.exe" >>> >>> If IE is already open, the first two examples work, but otherwise, >>> for all 4, IE flashes a window, which immediately closes. > >> how about >> cmd /c "C:\Program Files\Internet Explorer\iexplore.exe" "www.google.com" > > I'd say, > > cmd /c start "" https://google.com/ Both seem to start the *default* browser, in my case, Firefox. You need to be explicit if you want IE and it's not your default. Regards -- Eliot Moss -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple