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: Change default program for .html

06 Dec 2011   #11

Windows 7 Professional SP1 32-bit

Please elaborate on what you mean by "it didn't work." Exactly how did you proceed?

The REG_SZ string as it appears in my Registry reads as follows (I did a direct copy/paste from regedit):

"C:\Program Files\Mozilla Firefox\firefox.exe" -requestPending -osint -url "%1"

You should change this as follows:

"C:\Program Files\Mozilla Firefox\firefox.exe" -requestPending -osint -profile "full path to your profile here" -url "%1"

for example, if your profile is in C:\Users\Me\Some\Path, the string would read:

"C:\Program Files\Mozilla Firefox\firefox.exe" -requestPending -osint -profile "C:\Users\Me\Some\Path" -url "%1"

My System SpecsSystem Spec

06 Dec 2011   #12

Windows 7 64bit

I've attached the errors I get when I click a .url file. I was actually working with FirefoxURL. THe path to the profile is fine, I use it in shortcuts now.

Attached Images
My System SpecsSystem Spec
07 Dec 2011   #13

Windows 7 Professional SP1 32-bit

Could you show me the exact string you put into your Registry for the FirefoxHTML-etc. key?
My System SpecsSystem Spec

07 Dec 2011   #14

Windows 7 64bit

"C:\Program Files (x86)\Mozilla Firefox 7\firefox.exe" -requestPending -osint -profile "C:\Users\MyName\AppData\Roaming\Mozilla\Firefox\Profiles\ya51kf7t.default" -url "%1"
My System SpecsSystem Spec
08 Dec 2011   #15

Windows 7 Professional SP1 32-bit

OK, the registry key is perfect. That's not the problem. Somehow Firefox just won't load your profile using this method; I don't know why - perhaps you can ask on Mozilla's forums and get an answer there.

There is another option according to this page:
Command - Result - Example

profile "<path>" - Starts with profile located at the given path - firefox.exe -profile "E:\myprofile"

P "<profile name>"
- Starts with a given profile name (case sensitive) - firefox.exe -P "Joel User"
Try using the -P option instead of -profile. Does that work?

I wonder what the -requestPending and -osint switches do, I can't find any info about them. Perhaps they conflict somehow.
My System SpecsSystem Spec
08 Dec 2011   #16

Windows 7 64bit

I gave up and made the files open in IE instead. Thanks for your help anyway.
My System SpecsSystem Spec

 Change default program for .html

Thread Tools

Similar help and support threads for2: Change default program for .html
Thread Forum
Solved Thumbnail image will not change for program used for .html files Browsers & Mail
change default dvd-program Music, Pictures & Video
Open With - Change Default Program Tutorials
Change Program Files default location? General Discussion
Change default program through script General Discussion
Want to change Default graphic program. Software
Change default email program Browsers & Mail

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 10:33 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