open IE from command line

Buchbinder, Barry (NIH/NIAID) [E] BBuchbinder@niaid.nih.gov
Wed Dec 21 14:46:00 GMT 2016


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" 

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.


 ТÒÐÐ¥&ö&ÆVÒ&W÷'G3¢‡GG¢òö7–wv–âæ6öÒ÷&ö&ÆV×2æ‡FÖÀФd¢‡GG¢òö7–wv–âæ6öÒöfðФFö7VÖVçFF–ö㢇GG¢òö7–wv–âæ6öÒöFö72æ‡FÖÀÐ¥Vç7V'67&–&R–æfó¢‡GG¢òö7–wv–âæ6öÒöÖÂò7Vç7V'67&–&R×6–ׯPРÐ


More information about the Cygwin mailing list