Download .EXE file via JQuery
<p>How can I do a function, that allow do the download of a file in C:  ?</p>

<p>For example, when the link is clicked, trigger a javascript function that will open the file or made download.</p>

<p>I'm trying this, </p>

<p>But it execute the program, I need that execute a download! </p>

<pre><code>   if (url == "Supremo") {
       var oShell = new ActiveXObject("WScript.Shell");
       var prog = "C:\\inetpub\\wwwroot\\admin.redenetimoveis.com\\San\\up\\arquivos\\Supremo.exe";               
       oShell.run('"' + prog + '"', 1);
       return false;
   }
</code></pre>
