From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 74271 invoked by alias); 21 Dec 2016 00:50:23 -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 74258 invoked by uid 89); 21 Dec 2016 00:50:22 -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_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=HX-HELO:sk:mail-io, H*i:sk:703960a, Hx-languages-length:1348, H*f:sk:703960a X-HELO: mail-io0-f175.google.com Received: from mail-io0-f175.google.com (HELO mail-io0-f175.google.com) (209.85.223.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 21 Dec 2016 00:50:21 +0000 Received: by mail-io0-f175.google.com with SMTP id p42so193645825ioo.1 for ; Tue, 20 Dec 2016 16:50:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=TqM1LYabr2qcK3vfPcr4CFFIAN63DqbYS5gDGtYi1zU=; b=mf4znUuMAHKmKpSxiCS19v3xMPLV9kL30t1eb/FMIFUTkwS0WKXl08FkUJjWBR+0TK Lg7s5NuNXsHzkvfUbPRWJpWv3mT2cG92vdqcqCOSPb1w4NWVSBcvGeUlBYhC4kPbRNIB W+84GfvgnkeFG14pUu2di1FBSXB3NdjGbhOaJP/ZHMnVimWWhTv893iBJlx/VDCaI+vM VQMIbVBxnKBy7en5xnOVkN4BUfhigQWo6DatSz4SKLBeTIuhhT6EaOxY3BYpxiMvAhYL HRHx6a9XQ/zovb6IrljTo0vXCngz/XpZfEBcdwZ9z4DEHTCabJV/AWe9JT/IImhzU+Ix 9dTA== X-Gm-Message-State: AIkVDXL9lh2p0cOS5E0ERPC7UEBtLs+JyV9QtBdm/3rq547hmzeWzhwyopABrAIixYZlk4zaBoySZp/8p3/zVw== X-Received: by 10.107.34.74 with SMTP id i71mr3453949ioi.24.1482281419774; Tue, 20 Dec 2016 16:50:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.152.204 with HTTP; Tue, 20 Dec 2016 16:50:19 -0800 (PST) In-Reply-To: <703960af-96c6-0412-d5a0-35a9d8c169c6@cs.umass.edu> References: <0D835E9B9CD07F40A48423F80D3B5A704BBD5906@USA7109MB022.na.xerox.net> <149633121.20161221013826@yandex.ru> <703960af-96c6-0412-d5a0-35a9d8c169c6@cs.umass.edu> From: Lee Date: Wed, 21 Dec 2016 00:50:00 -0000 Message-ID: Subject: Re: open IE from command line To: moss@cs.umass.edu, cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-12/txt/msg00208.txt.bz2 On 12/20/16, Eliot Moss wrote: > 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. I don't have IE as the default browser & at least for me: cmd /c start "" https://google.com/ starts the default browser & opens google.com cmd /c "C:\Program Files\Internet Explorer\iexplore.exe" "www.google.com" starts the 64 bit version of IE & opens www.google.com cmd /c "C:\Program Files (x86)\Internet Explorer\iexplore.exe" "www.google.com" starts the 32 bit version of IE & opens www.google.com Regards, Lee -- 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