public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Eliot Moss <moss@cs.umass.edu>
To: cygwin@cygwin.com
Subject: Re: open IE from command line
Date: Tue, 20 Dec 2016 23:32:00 -0000	[thread overview]
Message-ID: <703960af-96c6-0412-d5a0-35a9d8c169c6@cs.umass.edu> (raw)
In-Reply-To: <149633121.20161221013826@yandex.ru>

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

  reply	other threads:[~2016-12-20 23:32 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-20 16:15 Nellis, Kenneth
2016-12-20 17:20 ` Lee
2016-12-20 22:10   ` cyg Simple
2016-12-20 22:51   ` Andrey Repin
2016-12-20 23:32     ` Eliot Moss [this message]
2016-12-21  0:50       ` Lee
2016-12-21 14:11   ` Nellis, Kenneth
2016-12-21 14:46     ` Buchbinder, Barry (NIH/NIAID) [E]
2016-12-21 16:14     ` Lee
2016-12-21 17:01     ` Nellis, Kenneth
2016-12-22  1:04       ` Doug Henderson
2016-12-22  1:25         ` Doug Henderson
2016-12-22 13:43           ` Nellis, Kenneth
2016-12-22 13:54             ` cyg Simple
2016-12-22 13:51         ` cyg Simple
2016-12-22 14:26           ` Nellis, Kenneth
2016-12-22 15:51             ` Andrey Repin
2016-12-22 20:56               ` Nellis, Kenneth
2016-12-22 18:14             ` Brian Inglis
2016-12-21  7:30 ` Brian Inglis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=703960af-96c6-0412-d5a0-35a9d8c169c6@cs.umass.edu \
    --to=moss@cs.umass.edu \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).