How to add parameter to default programs?

hkBattousai

New member
Member
Local time
11:22 PM
Messages
64
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

OS
Windows 7 Ultimate x64
CPU
Intel i5 750
Motherboard
Gigabyte P55A U3DR
Memory
2x2GB DDR3 Dual-kit
Graphics Card(s)
ATI Radeon HD4670
Sound Card
Onboard
Monitor(s) Displays
Samsung SyncMaster P2350
Hard Drives
Western Digital 1TB, 64MB cache, internal
Samsung Story 1.5TB, external
PSU
400W rated, 460W max
Case
CoolerMaster
Cooling
Air

My Computer

OS
Windows 7 Ultimate x64
CPU
Intel i5 750
Motherboard
Gigabyte P55A U3DR
Memory
2x2GB DDR3 Dual-kit
Graphics Card(s)
ATI Radeon HD4670
Sound Card
Onboard
Monitor(s) Displays
Samsung SyncMaster P2350
Hard Drives
Western Digital 1TB, 64MB cache, internal
Samsung Story 1.5TB, external
PSU
400W rated, 460W max
Case
CoolerMaster
Cooling
Air
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

Computer Manufacturer/Model Number
Toshiba L355D
OS
Windows 7 Ultimate x64 SP1
CPU
Core2 Duo
Motherboard
Intel
Memory
4 GB
Graphics Card(s)
GM965 on-board
Sound Card
RealTek on-board
Monitor(s) Displays
19"+17"(laptop)
Screen Resolution
1440x900 (x 2)
Hard Drives
500GB Ext. 200GB Internal
PSU
N/A
Case
N/A
Cooling
N/A

My Computer

Computer Manufacturer/Model Number
Too many to describe...
OS
Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
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

OS
Windows 7 Ultimate x64
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... :)

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

OS
Windows 7 Ultimate x64
CPU
Intel i5 750
Motherboard
Gigabyte P55A U3DR
Memory
2x2GB DDR3 Dual-kit
Graphics Card(s)
ATI Radeon HD4670
Sound Card
Onboard
Monitor(s) Displays
Samsung SyncMaster P2350
Hard Drives
Western Digital 1TB, 64MB cache, internal
Samsung Story 1.5TB, external
PSU
400W rated, 460W max
Case
CoolerMaster
Cooling
Air
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

Computer Manufacturer/Model Number
Own build
OS
windows 7
CPU
2.4 quad pc 6600
Motherboard
foxconn G Socket 755
Memory
8GB
Sound Card
Onboard
Monitor(s) Displays
Dell 24"
PSU
450
Case
ANTEC
still seems to start with a default profile --- anoying as
 

My Computer

Computer Manufacturer/Model Number
Own build
OS
windows 7
CPU
2.4 quad pc 6600
Motherboard
foxconn G Socket 755
Memory
8GB
Sound Card
Onboard
Monitor(s) Displays
Dell 24"
PSU
450
Case
ANTEC
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

338441-how-check-if-program-working-opera3.png


338564d1414513536t-how-check-if-program-working-opera-wo-launcher.png


Other than that I can't help much as I personally still use Opera 12.18 Presto. (not chrome version)
 
Last edited:

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
ASUS
OS
Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
CPU
AMD C-60 APU with Radeon(tm) HD Graphics
Motherboard
ASUSTeK COMPUTER INC. X501U
Memory
4.00 GB
Graphics Card(s)
AMD Radeon HD 6290 Graphics
Sound Card
(1) AMD High Definition Audio Device (2) Realtek High Defi
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
Hitachi HTS545050A7E380 SATA Disk Device
Antivirus
Comodo CIS & FW, SecureAplus App Whitelisting, Threatfire
Browser
Cyberfox 64bit, Opera 64bit, Airfox
Other Info
Spy-The-Spy, HitmanPro.Alert, Norton Connect Safe, MJRegWatcher, BitDefender TrafficLight, Voodoo Shield, Zemana AntiMalware
I know it's an old 3d.

But maybe I found a solution for you.
I want chrome starts always in incognito mode.

I found the right key in Computer\HKEY_CLASSES_ROOT\ChromeHTML\shell\open\command\ChromeHTML\shell\open\command

and modified from "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -- "%1" to "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --incognito "%1".


I hope this will help you for your browsers.
 

My Computer

Computer type
PC/Desktop
OS
W10 Ultimate x64
Back
Top