From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 41004 invoked by alias); 21 Dec 2016 07:30:26 -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 39490 invoked by uid 89); 21 Dec 2016 07:30:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=finger, alberta, Hx-spam-relays-external:sk:smtp-ou, Hx-spam-relays-external:shaw.ca X-HELO: smtp-out-no.shaw.ca Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 21 Dec 2016 07:30:03 +0000 Received: from [192.168.1.100] ([174.0.238.184]) by shaw.ca with SMTP id JbLZcbJLnZfmaJbLacxwEs; Wed, 21 Dec 2016 00:30:01 -0700 X-Authority-Analysis: v=2.2 cv=Roa1FGuK c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=1XWaLZrsAAAA:8 a=ZST7Ru5zi0xrgHtVf2sA:9 a=QEXdDO2ut3YA:10 a=nJcEw6yWrPvoIXZ49MH8:22 Subject: Re: open IE from command line References: <0D835E9B9CD07F40A48423F80D3B5A704BBD5906@USA7109MB022.na.xerox.net> To: cygwin@cygwin.com Reply-To: Brian.Inglis@SystematicSw.ab.ca From: Brian Inglis Message-ID: <0c053e39-289a-7f47-a8d4-aeeb5bdd6214@SystematicSw.ab.ca> Date: Wed, 21 Dec 2016 07:30: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: <0D835E9B9CD07F40A48423F80D3B5A704BBD5906@USA7109MB022.na.xerox.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4wfCvymezqzoti9eeZqCF1jwG+eHxLvdpVoukQeph0Bd4rvxLw9LElS3APbRx0+8uZO7CgkYz/CuwkUE7i2zuw/cuRvzbDy//dvQwWHYjYNftB5sfKKHpp J/B24Kx5kqIJvuXuYuFp3vJxwKNFpGjJVl6u6Z//JbmTYtP4oU62H2VMpzfMLfeOGoR70Y2tz1kdMg== X-IsSubscribed: yes X-SW-Source: 2016-12/txt/msg00211.txt.bz2 On 2016-12-20 09:15, Nellis, Kenneth wrote: > 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. Check your URL associations and default apps, and always run Windows apps, or associated file types which run Windows apps, using cygstart. I've never tried IE locally but don't recall ever having any issues on work systems where that was the mandatory default browser. Have you tried rebooting - MS OS and apps seem to be able to go zombie so you have to do the three finger decapitation, then everything starts working normally again. Firefox is my default browser and I've never had problems opening local web pages, URIs, .URL links, or any other associated content from bash, whether or not the browser or other app is already running. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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