title: How do I execute a .bat stored on a server via a web interface?
body: <p>All, </p>
  
  <p>Forgive the lack of sample code here. I have a .bat file which executes a background process that refreshes graphics on a webpage that I am designing. I can run this process automatically using a scheduling application, but I would like to give the user manual control. I want a button on a webpage that the user can click to run a .bat file on the server. I'm coding in html and C# on an aspx file. </p>
  
  <p>What I've tried so far is: </p>
  
  <pre><code>&lt;a href='program.bat'&gt; Refresh &lt;/a&gt; 
  </code></pre>
  
  <p>Obviously this doesn't work: when I click "refresh" on my IE browser and select "run" the file downloads to the temporary files folder on my local drive and tries to execute there.  </p>