Hyperlink to .reg file

R

Randal Ferguson

All,

I'm trying to setup a hyperlink to a .reg file on my web site so when then
the user clicks on the link the registry changes will be applied or if they
right-click on the link they can save the .reg file on their computer. The
link works ok except if the user right-clicks on the link and selects "Save
target as" the save dialog displays the file name with an .htm extension,
instead of .reg. In Frontpage it works ok on my computer and the Save as
type is set to Registry Entries but from the web site it defaults to HTML
document. How can I change this so the file extension is not changed to
..htm?

Using Frontpage 2000 & Win XP Pro.

Thanks,
Randal
 
S

Steve Easton

You can't run a .reg file from a web page, it must be saved to the users machine and then run from
Windows Explorer.
To ensure it is downloaded zip it into a zip file and link to the zip

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
S

Steve Easton

When clicked they both open the download prompt dialog, as they should.

If you can click that link in a browser window on your machine, with that page opened in a browser
from a remote website and it automatically writes to the registry, you have some serious security
issues on your machine.


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top