title: How to get a BATCH file executed from a web page?
body: <p>I have a one line batch file that I want to call from a web page via a button what is the best way to achieve this?</p>
  
  <p>The BATCH File is as follows:</p>
  
  <pre><code>c:\R\bin\Rscript.exe "c:\Users\user\Desktop\Shares.R" 
  </code></pre>
  
  <p>Or is it possible just to call the R script straight from the web page and skip the BATCH file altogether, Can this be done? It is all being done on a local host so I don't think there should be a problem with permissions etc...</p>
  
  <p>Any Help would be greatly appreciated.</p>
  
  <p>Regards, </p>
  
  <p>Anthony.</p>