"Send to" Firefox command

Discussion in 'Firefox' started by reisende, Jul 5, 2004.

  1. reisende

    reisende Guest

    Hi,
    I would like to create a shortcut in my 'Send to' folder that would open
    internet shortcuts with Firefox.
    (Firefox is not the default browser on this shared XP Home pc.)
    I've tried :
    "C:\Program Files\Mozilla Firefox\firefox.exe" "%1"
    but it doesn't work.
    Does anyone know of a command line switch that would open a url shortcut
    from a right click Sendto context menu?
    Thanks in advance.
    reis54
    reisende, Jul 5, 2004
    #1
    1. Advertising

  2. reisende

    Sue Briquet Guest

    reisende wrote:
    > Hi,
    > I would like to create a shortcut in my 'Send to' folder that would open
    > internet shortcuts with Firefox.
    > (Firefox is not the default browser on this shared XP Home pc.)


    Just-fixed bug http://bugzilla.mozilla.org/show_bug.cgi?id=235380 - now
    FireFox will set itself as the default browser for the current user on
    Windows XP. If you get a nightly build and cross your fingers it's
    stable it may work for you.

    > I've tried :
    > "C:\Program Files\Mozilla Firefox\firefox.exe" "%1"
    > but it doesn't work.


    I think you omit the "%1" with sendto shortcuts - certainly with mine
    (notepad and regsvr32.exe) the syntax would simply be simply "C:\Program
    Files\Firefox\firefox.exe" (your path may vary)

    But that doesn't work for me: FireFox opens the .URL file as a text file
    (like notepad would) and displays:
    [InternetShortcut]
    URL=http://xyz.com/
    Modified=10BE4503ED62C443etc

    (I set up a send-to to IE - it downloaded the URL file then executed it
    - which invoked FireFox, my default browser... I laughed. Patched IE6 on
    XPSP1.)

    None of this helps you: there's a Microsoft KB article about How To
    Modify the Default Web Browser and E-mail Client Programmatically in
    Windows XP
    http://support.microsoft.com/default.aspx?scid=kb;en-us;299853 which
    shows how to programmatically add the right registry entries to the HKCU
    hive. If you're not a programmer but know how to use google you should
    be able to find a utility which allows you to set your default browser
    by user in XP, on the grounds that if it can be done it will be done
    somewhere. If you are a programmer you can write one ;-)

    > Does anyone know of a command line switch that would open a url shortcut
    > from a right click Sendto context menu?


    The main places I'd expect to find URL shorcuts are a shared desktop or
    favorites folder? If you can create your own shortcuts just do them in
    the usual format "C:\Program Files\Firefox\firefox.exe" http://xyz.com

    Annoyingly (on my XP box anyway) shift-rightclick on a URL shortcut
    doesn't invoke the "Open With" dialog to allow you to associate HTML
    files with FireFox (you could have used Open With instead of SendTo - I
    guess you could set it up manually using the file association dialog in
    folder options)

    Fortunately, there is a workaround: start firefox and drag'n'drop the
    URL shorcuts onto the main firefox window, and they will open in the window.
    If the firefox window doesn't have to focus, drag the icon onto the
    firefox 'entry' (?) on the taskbar and wait for it to come to the
    foreground and then drop on it.
    > Thanks in advance.
    > reis54


    Cheers

    Dory
    --
    Just Keep Swimming Dot Net
    Sue Briquet, Jul 6, 2004
    #2
    1. Advertising

  3. reisende

    reisende Guest

    Sue Briquet wrote:
    > reisende wrote:
    >
    >> Hi,
    >> I would like to create a shortcut in my 'Send to' folder that would
    >> open internet shortcuts with Firefox.
    >> (Firefox is not the default browser on this shared XP Home pc.)

    >
    >
    > Just-fixed bug http://bugzilla.mozilla.org/show_bug.cgi?id=235380 - now
    > FireFox will set itself as the default browser for the current user on
    > Windows XP. If you get a nightly build and cross your fingers it's
    > stable it may work for you.
    >
    >> I've tried :
    >> "C:\Program Files\Mozilla Firefox\firefox.exe" "%1"
    >> but it doesn't work.

    >
    >
    > I think you omit the "%1" with sendto shortcuts - certainly with mine
    > (notepad and regsvr32.exe) the syntax would simply be simply "C:\Program
    > Files\Firefox\firefox.exe" (your path may vary)
    >
    > But that doesn't work for me: FireFox opens the .URL file as a text file
    > (like notepad would) and displays:
    > [InternetShortcut]
    > URL=http://xyz.com/
    > Modified=10BE4503ED62C443etc
    >
    > (I set up a send-to to IE - it downloaded the URL file then executed it
    > - which invoked FireFox, my default browser... I laughed. Patched IE6 on
    > XPSP1.)
    >
    > None of this helps you: there's a Microsoft KB article about How To
    > Modify the Default Web Browser and E-mail Client Programmatically in
    > Windows XP
    > http://support.microsoft.com/default.aspx?scid=kb;en-us;299853 which
    > shows how to programmatically add the right registry entries to the HKCU
    > hive. If you're not a programmer but know how to use google you should
    > be able to find a utility which allows you to set your default browser
    > by user in XP, on the grounds that if it can be done it will be done
    > somewhere. If you are a programmer you can write one ;-)
    >
    >> Does anyone know of a command line switch that would open a url
    >> shortcut from a right click Sendto context menu?

    >
    >
    > The main places I'd expect to find URL shorcuts are a shared desktop or
    > favorites folder? If you can create your own shortcuts just do them in
    > the usual format "C:\Program Files\Firefox\firefox.exe" http://xyz.com
    >
    > Annoyingly (on my XP box anyway) shift-rightclick on a URL shortcut
    > doesn't invoke the "Open With" dialog to allow you to associate HTML
    > files with FireFox (you could have used Open With instead of SendTo - I
    > guess you could set it up manually using the file association dialog in
    > folder options)
    >
    > Fortunately, there is a workaround: start firefox and drag'n'drop the
    > URL shorcuts onto the main firefox window, and they will open in the
    > window.
    > If the firefox window doesn't have to focus, drag the icon onto the
    > firefox 'entry' (?) on the taskbar and wait for it to come to the
    > foreground and then drop on it.
    >
    >> Thanks in advance.
    >> reis54

    >
    >
    > Cheers
    >
    > Dory
    > --
    > Just Keep Swimming Dot Net


    Thanks Sue for your great response.
    Firefox isn't the default browser on this PC because everyone else
    prefers IE. I'm the minority on this one!
    I think you hit on it with modifying the HKCU.
    I think I'll go in that direction.
    Thanks again, and enjoy your swim ;)
    Sincerely,
    reis54
    reisende, Jul 7, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Silverstrand
    Replies:
    0
    Views:
    945
    Silverstrand
    Apr 17, 2006
  2. Mike Rahl
    Replies:
    6
    Views:
    2,314
    Walter Roberson
    Dec 12, 2006
  3. bas
    Replies:
    4
    Views:
    819
    Ralph Wade Phillips
    Dec 1, 2006
  4. Replies:
    2
    Views:
    547
  5. Please
    Replies:
    4
    Views:
    559
    Please
    Feb 14, 2007
Loading...

Share This Page