RE: open IE from command line

2016-12-22 Thread Nellis, Kenneth
From: Andrey Repin > %ProgramData% and %PUBLIC% is a likely culprit. Thanx, but those didn't actually matter. The one causing the problem was ProgramW6432. Once I restored it, I could open web pages using cygstart. --Ken Nellis -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: open IE from command line

2016-12-22 Thread Brian Inglis
On 2016-12-22 07:25, Nellis, Kenneth wrote: > Mystery solved (to my satisfaction). After writing, I realized that > the script wasn't working consistently, sometimes causing IE to > misbehave as I originally posted. A bit of digging showed that it was > working if invoked from a bash session initia

Re: open IE from command line

2016-12-22 Thread Andrey Repin
Greetings, Nellis, Kenneth! > Mystery solved (to my satisfaction). After writing, I realized that the > script wasn't working consistently, sometimes causing IE to misbehave as > I originally posted. A bit of digging showed that it was working if > invoked from a bash session initiated by "chere

RE: open IE from command line

2016-12-22 Thread Nellis, Kenneth
From: cyg Simple (https://cygwin.com/ml/cygwin/2016-12/msg00240.html) > > FYI you can also use vi to translate those line endings > > $ vi foo > :set ff=unix > :wq > > or going the other direction, > > $ vi foo > :set ff=dos > :wq Actually, the file downloaded just fine without CRLF line endin

Re: open IE from command line

2016-12-22 Thread cyg Simple
On 12/22/2016 8:43 AM, Nellis, Kenneth wrote: > Also curious why others weren't having > this problem. > I suspect that it is your minimized PATH. I'm not using that minimization because I need the Windows PATH to be productive. I only install a minimal set of Cygwin and use Windows native when

Re: open IE from command line

2016-12-22 Thread cyg Simple
On 12/21/2016 8:04 PM, Doug Henderson wrote: > On 21 December 2016 at 10:01, Nellis, Kenneth wrote: > > Before using, strip CRs (just in case) using d2u (or dos2unix), > FYI you can also use vi to translate those line endings $ vi foo :set ff=unix :wq or going the other direction, $ vi foo :

RE: open IE from command line

2016-12-22 Thread Nellis, Kenneth
> From: Doug Henderson > On 21 December 2016 at 18:04, Doug Henderson wrote: > > On 21 December 2016 at 10:01, Nellis, Kenneth wrote: > > > Attached is a bash script, renamed as openurl.sh.txt, which will open > > a url with either the default browser or Internet Explorer. It takes > > Last minu

Re: open IE from command line

2016-12-21 Thread Doug Henderson
On 21 December 2016 at 18:04, Doug Henderson wrote: > On 21 December 2016 at 10:01, Nellis, Kenneth wrote: > Attached is a bash script, renamed as openurl.sh.txt, which will open > a url with either the default browser or Internet Explorer. It takes Last minute fix: before using the script, edit

Re: open IE from command line

2016-12-21 Thread Doug Henderson
On 21 December 2016 at 10:01, Nellis, Kenneth wrote: > > From: Nellis, Kenneth > > 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. > > Actually, that's not the case and is irrelevant as Lee demon- > strates in

RE: open IE from command line

2016-12-21 Thread Nellis, Kenneth
From: Nellis, Kenneth > 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. Actually, that's not the case and is irrelevant as Lee demon- strates in https://cygwin.com/ml/cygwin/2016-12/msg00220.html. Comparing the

Re: open IE from command line

2016-12-21 Thread Lee
On 12/21/16, Nellis, Kenneth wrote: > 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

RE: open IE from command line

2016-12-21 Thread Buchbinder, Barry (NIH/NIAID) [E]
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 s

RE: open IE from command line

2016-12-21 Thread Nellis, Kenneth
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,

Re: open IE from command line

2016-12-20 Thread Brian Inglis
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.e

Re: open IE from command line

2016-12-20 Thread Lee
On 12/20/16, Eliot Moss wrote: > 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

Re: open IE from command line

2016-12-20 Thread Eliot Moss
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/i

Re: open IE from command line

2016-12-20 Thread Andrey Repin
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" >> $ cygsta

Re: open IE from command line

2016-12-20 Thread cyg Simple
On 12/20/2016 12:20 PM, Lee wrote: > 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 the following: >> >> $ cygstart "http://www.google.com"; >> $ cygstart index.html # local page >> $ "/cygdrive/c/P

Re: open IE from command line

2016-12-20 Thread Lee
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 the following: > > $ cygstart "http://www.google.com"; > $ cygstart index.html # local page > $ "/cygdrive/c/Program Files/Internet Explorer/iexplore.exe"

open IE from command line

2016-12-20 Thread Nellis, Kenneth
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 Ex