Open an exe file through a link in a HTML file?

On a local computer you can do it with ease,
So you have just to Create your own custom protocol, like the one used by Skype or iTunes to launch their native windows applications :
– Custom protocol has to be created on Windows Registry by adding a entry as the one here :

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\ACCapp]
@="URL:ACCapp Protocol"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\ACCapp\shell]

[HKEY_CLASSES_ROOT\ACCapp\shell\open]

[HKEY_CLASSES_ROOT\ACCapp\shell\open\command]
@="msaccess.exe"

the word in Blod ACCapp is the name of the custom protocol that would be used on your html href link as follow

<a href="https://stackoverflow.com/questions/4252913/ACCapp://">PLEASE RUN MS Access exe file</a>

this link wont run unless you add the registry keys.
nb: don’t ever make limits to your imagination just search an you’l find. hope it helps

Leave a Comment