Archive: Launch the default browser


Launch the default browser
this works:
strcpy $R0 "http://www.google.com/"
ExecWait '"$PROGRAMFILES\Internet Explorer\iexplore.exe" "$R0"'


hmm...my question I got cut off

this does not work:
strcpy $R0 "http://www.google.com/"
ExecShell "open" '"$R0"'


is there a way to get the default browser to launch?


never had problems doing that. i'm using firefox and the execshell command. are you sure, your browser really is the default browser?


is there a setting in Windows for this ?
I am a 'Mac' guy and Windows is still a bit mysterious to me. I'll look for the default browser option and see if that fixes the problem....


Nope :( Did not work on Win2k with a restart.
this is the code:
outfile launchExplorer.exe
Section ""
strcpy $R0 "http://www.google.com/"
ExecShell "open" '"$R0"'
SectionEnd


usually it's in each browser's settings, don't know if there's a global control (you can only reset this in the Internet Options).

Mozilla Firefox (v0.10.1):
Tools>Options>General>Default Browser

Opera (v7.54):
Tools>Preferences>Default Application

Internet Explorer (v6.0.3):
Tools>Internet Options>Programs
(or Start>Settings>Control Panel>Internet Options>..)


That is what I did with Explorer 6.0.2
Maybe it is strangeness of Virtual PC ?
Everything else seems to work just fine.
Could this be an error in code instead?


as i said

ExecShell open "http://google.com"

works for me, unregarding what browser is my default. i never used virtual pc on osx, just darwine.

cool
as long as it is working for everyone else :)
I'll chalk it up to a VPC quirk
many thanks