Re: open IE from command line
- Date: Tue, 20 Dec 2016 18:32:07 -0500
- From: Eliot Moss <moss@xxxxxxxxxxxx>
- Subject: Re: open IE from command line
On 12/20/2016 5:38 PM, Andrey Repin wrote:
How to open a web page (remote or local) or launch IE from the mintty/bash
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.
cmd /c "C:\Program Files\Internet Explorer\iexplore.exe" "www.google.com"
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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple