Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: How to add parameter to default programs?


21 Sep 2010   #1

Windows 7 Ultimate x64
 
 
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 System SpecsSystem Spec
.

21 Sep 2010   #2

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

My System SpecsSystem Spec
21 Sep 2010   #3

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
.


21 Sep 2010   #4

Windows 7 Ultimate x64 SP1
 
 

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 System SpecsSystem Spec
21 Sep 2010   #5

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

Quote   Quote: Originally Posted by hkBattousai View Post
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 System SpecsSystem Spec
08 Oct 2010   #6

Windows 7 Ultimate x64
 
 

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 System SpecsSystem Spec
08 Oct 2010   #7

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by mistaecko View Post
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...

Quote   Quote: Originally Posted by mistaecko View Post
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 System SpecsSystem Spec
Reply

 How to add parameter to default programs?




Thread Tools



Similar help and support threads for2: How to add parameter to default programs?
Thread Forum
Default Programs - Set a Program's Default Associations Tutorials
Default Programs - Change Default Icon in Start Menu Tutorials
Solved Default Programs General Discussion
Add Programs to Default Programs List General Discussion
Solved Icons in Control Panel\Programs\Default Programs\Set Default Programs General Discussion
Solved default programs Software
Default Programs General Discussion

Our Sites

Site Links

About Us

Find 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 12:23 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33