1. What is the command for Internet Explorer?
- Posted by Jerry Story <jstory at ocii.com> Jul 29, 2005
- 463 views
For Linux I have:
prog = -- mozilla or nautilus or whatever system(prog & " \"www.google.com/search -- etc.
This works for Linux. It searches a string on Google. The question is: How to do that on Windows? I seem to be unable to find the command for Internet Explorer.
2. Re: What is the command for Internet Explorer?
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Jul 29, 2005
- 452 views
Jerry Story wrote: > > For Linux I have: > > }}} <eucode> > prog = -- mozilla or nautilus or whatever > system(prog & " \"www.google.com/search -- etc. > <font color="#330033"></eucode> {{{ </font> > > This works for Linux. It searches a string on Google. > > The question is: > How to do that on Windows? > I seem to be unable to find the command for Internet Explorer. Even better, actually, you can just do:
system( "start www.google.com/search", -2 )
...and it will use the user's default browser. Matt Lewis
3. Re: What is the command for Internet Explorer?
- Posted by Alexander Toresson <alexander.toresson at gmail.com> Jul 29, 2005
- 437 views
Matt Lewis wrote: > > Jerry Story wrote: > > > > For Linux I have: > > > > }}} <eucode> > > prog = -- mozilla or nautilus or whatever > > system(prog & " \"www.google.com/search -- etc. > <font color="#330033">> <font color=</font><font > color="#00A033">"#330033"</font><font color="#330033">></eucode> {{{ </font></font> > > > > This works for Linux. It searches a string on Google. > > > > The question is: > > How to do that on Windows? > > I seem to be unable to find the command for Internet Explorer. > > Even better, actually, you can just do: > }}} <eucode> > system( "start www.google.com/search", -2 ) > <font color="#330033"></eucode> {{{ </font> > ...and it will use the user's default browser. > > Matt Lewis > On debian there are two ways of doing approximately the same thing. You can use one of the two commands sensible-browser and x-www-browser. Though I don't know how "standard" they are. Regards, Alexander Toresson
4. Re: What is the command for Internet Explorer?
- Posted by Patrick Barnes <mrtrick at gmail.com> Jul 29, 2005
- 482 views
Do you specifically want internet explorer, or just whatever program the user has installed for web browsing? (I suggest the latter) For internet explorer:=20 system("iexplore.exe \"http://webpage.com\"",2) For whichever program is registered to handle the file, use start.exe system("start.exe \"c:\My Documents\test.doc\"",2) --opens test.doc in the default program, probably microsoft word. So to open the web page in the default web browser: system("start http://www.webpage.com/",2) On 7/29/05, Jerry Story <guest at rapideuphoria.com> wrote: > > > posted by: Jerry Story <jstory at ocii.com> > > For Linux I have: > > }}} <eucode> > prog = -- mozilla or nautilus or whatever > system(prog & " \"www.google.com/search -- etc. > </eucode> {{{ > > This works for Linux. It searches a string on Google. > > The question is: > How to do that on Windows? > I seem to be unable to find the command for Internet Explorer. > > > > > -- MrTrick ----------