How to add parameter to default programs?

Page 1 of 2 12 LastLast

  1. Posts : 64
    Windows 7 Ultimate x64
       #1

    How to add parameter to default programs?


    My default browser is Firefox. When I click a link Windows opens the URL in Firefox. That's OK, but I want to Windows to use additional parameters when opening links in Firefox. How can I do it?

    OS: Windows 7 Ultimate
      My Computer


  2. Posts : 5,056
    Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
       #2
      My Computer


  3. Posts : 64
    Windows 7 Ultimate x64
    Thread Starter
       #3

    I know command line switches of Firefox, but I want to know how to make Windows use a command line switch when calling a default program (Firefox in my case).
      My Computer


  4. Posts : 1,483
    Windows 7 Ultimate x64 SP1
       #4

    I dunno, but would it be possible to create a shortcut with the command line parameters you desire and then direct the file types you want to be opened in such a manner toward them through the "Default Programs" tool?
      My Computer


  5. Posts : 5,056
    Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
       #5

    hkBattousai said:
    I know command line switches of Firefox, but I want to know how to make Windows use a command line switch when calling a default program (Firefox in my case).
    If you actually read those links, you'll find it explained there.
      My Computer


  6. Posts : 1
    Windows 7 Ultimate x64
       #6

    Bill2,

    your comment annoyed me enough to finally register here to be able to reply to you.

    The OP wants to register the URL file type with firefox but configure the parameters passed to the program. This used to be possible in XP, but in Seven the file type association editor got revamped and is now missing this possibility. It is only possible to select the executable, not enter a full command line with additional parameters, e.g.

    Code:
    "C:\Program Files\Java\j2re1.6.0\bin\javaw.exe" -jar "%1" %*
    I couldn't find anything helpful in the links you provided.

    mistaecko
      My Computer


  7. Posts : 64
    Windows 7 Ultimate x64
    Thread Starter
       #7

    mistaecko said:
    Bill2,

    your comment annoyed me enough to finally register here to be able to reply to you.
    His comment annoyed me enough to give writing anymore on this thread... :)

    mistaecko said:
    The OP wants to register the URL file type with firefox but configure the parameters passed to the program. This used to be possible in XP, but in Seven the file type association editor got revamped and is now missing this possibility. It is only possible to select the executable, not enter a full command line with additional parameters, e.g.

    Code:
    "C:\Program Files\Java\j2re1.6.0\bin\javaw.exe" -jar "%1" %*
    I couldn't find anything helpful in the links you provided.
    Yeah, that setting was under "Folder Options", we could freely add additional custom parameters to any registered file type until Windows XP. But I don't know how to do it in Windows 7. I asked how to do that.
      My Computer


  8. Posts : 7
    windows 7
       #8

    was a solution found for this, im using windows 10,

    im experimenting with the following command but still not found the right answer

    # old entry

    C:\WINDOWS\system32>ftype OperaStable
    OperaStable="C:\Program Files (x86)\Opera\Launcher.exe" -noautoupdate -- "%1"

    C:\WINDOWS\system32>

    # new entry

    ftype OperaStable="C:\Program Files (x86)\Opera\Launcher.exe --disk-cache-dir="z:\opera-cache1" --user-data-dir=C:\Users\David Sives-Rutherfo\AppData\Roaming\Opera Software\Opera Stable\profile1" -noautoupdate -- "%1"
      My Computer


  9. Posts : 7
    windows 7
       #9

    still seems to start with a default profile --- anoying as
      My Computer


  10. Posts : 4,776
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #10

    See old thread here:


    See posts #25 & #26 regarding paths. You don't want to be using launcher.exe in your path. You need opera.exe





    Other than that I can't help much as I personally still use Opera 12.18 Presto. (not chrome version)
    Last edited by Callender; 08 Dec 2016 at 21:34. Reason: add image
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:49.
Find Us