RE: open IE from command line
- Date: Wed, 21 Dec 2016 14:45:59 +0000
- From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder@xxxxxxxxxxxxx>
- Subject: RE: open IE from command line
Nellis, Kenneth sent the following at Wednesday, December 21, 2016 9:11 AM
>Thanx to all who responded to my query...
>> On 12/20/16, Nellis, Kenneth wrote:
>> > How to open a web page (remote or local) or launch IE from the
>> > mintty/bash command line?
>I've tried all the suggestions and the same thing happens: IE flashes on
>the screen and immediately disappears. Indeed, IE is my default browser.
>I suspect the issue is that some required DLLs are not in my PATH.
>Indeed, my Cygwin PATH is a pruned version of my Windows PATH.
If you have a Windows shortcut to IE, try
cygstart "C:\[path to shortcut]\Internet Explorer.lnk"
For the record, these work for me:
cygstart "C:\Program Files\Internet Explorer\iexplore.exe"
cygstart "C:\Program Files\Internet Explorer\iexplore.exe" "http://www.google.com"
Disclaimer: Statements made herein are not made on behalf of NIAID.