View Full Version : Open program

12-29-2007, 01:15 AM
I need a program to open..


I made a link:
file://C:\Program Files\WinPVR\WinPVR.exe
When you click on it it asks you to save the file.. I want to open it without having to have a dialog come up

12-29-2007, 01:29 AM
You can't in a web environment.

12-29-2007, 01:55 AM
I read somewhere about a code that automatically selected the open option for files... I don't remember where though...

12-29-2007, 02:28 AM
That depends on the browser. Some ask to download it, some give the option of running it directly (while actually just downloading it to a default location before starting it). However, as allowing for executables to be executed without any prompt or active confirmation would be a free ride for hackers and spammers to mess around on any remote computer browser vendors have become careful with such things and youíll never get around a download confirmation message today.

In a nutshell: Browsers generally arenít made to execute external programs (even Flash is affected since the Eolas (http://en.wikipedia.org/wiki/Eolas) lawsuit). And this is especially for programs on your personal hard drive that are not affiliated with a browser.

12-29-2007, 02:47 AM
The file IS on the hard drive, not on a server

12-29-2007, 03:10 AM
Its not a matter of where the file is located its a matter of where you are opening the webpage. If you are using a browser then no it won't work. You need to use something like a .hta file.