We have an Intranet website, and a WPF windows executable installed on every workstation.
We have full admin capabilities on each workstation, and each user only uses Internet Explorer. We also know the correct local path for the exe.
Update: We tried this anchor tag, but when we click on it, we get no response:
<a href="c:\Flipper\Splash.Flipper.exe">Click Here</a>
We have also tried this via Google Chrome, and we get the same (lack of) response. Clicking the link causes nothing to happen.
If your users really use only IE you can use this snippet:
<script type="text/javascript">
function runNotepad() {
var Shell = new ActiveXObject("WScript.Shell");
Shell.Run("%WINDIR%\\notepad.exe");
}
</script>
<a href="#" onclick="runNotepad(); return false;">Run Notepad</a>
However, with any sensible security settings this leads to an awful lot of warnings (and rightfully so!).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With