I have a unique requirement to run an executable file from withing a
HTML document. The HTML is actually embedded in an email sent as a
notification to a user of our application. I need to include a link in
the HTML which launches the application (exe) with command line
parameters.
The Application and users are all within our Intranet - the
application is accessible through a network dirve. I understand to
enable this to happen, a user must select to open file from current
location, and verify they wish to run it - both of which are fine.
I can launch the exe through the following:
<a href="file:\\ServName\Folder\AppName.exe">Launch App Screen XY</a>
However, the email notification will need to specify a start
screen/state, e.g:
<a href="file:\\ServName\Folder\AppName.exe%20X%20Y"> Launch App Screen
XY</a>
This results in a 'Cannot Find Server, Page Cannot be Displayed
Error'. If I cut the EXACT same Address and paste into a new browser,
then the application launches fine, with command line parameters
making it through to the application....So it seems there is nothing
wrong with the URL, but the fact that it is being called from a
hyperlink is causing some problem...
Any Thoughts?
Cheers,
Brad.