title: Run command on client side from browser
body: <p>For our intraNET we need to run application, when user clicks on link. Security is done  another way (apache, firewall). This is only for users in our company. Operation system is WindowsXP+ (some Linux).</p>
  
  <p>I tried link to script file (http://intranet.domain.com/run.bat):</p>
  
  <ol>
  <li><p>Chrome</p>
  
  <ul>
  <li>can't change mimetype</li>
  <li>browser downloads it, and after doubleclick and warning it works with .bat</li>
  </ul></li>
  <li><p>Opera</p>
  
  <ul>
  <li>with mimetypes tunning, it works with .lnk file, immediatly after click</li>
  </ul></li>
  <li><p>Firefox</p>
  
  <ul>
  <li>with mimetypes tunning, it works with .lnk file, immediatly after click</li>
  </ul></li>
  <li><p>Explorer</p>
  
  <ul>
  <li>.bat file works after warning and click on 'Run'</li>
  </ul></li>
  <li><p>Safari</p>
  
  <ul>
  <li>.bat file works after warning and click on 'Run'</li>
  </ul></li>
  </ol>
  
  <p>It works, but with warnings and clicking. Maybe there are some other solutions (i read here) using AIR2 plugin or NPAPI plugin, but i have no experiences.</p>
  
  <p>I am looking for ready to use plugin written for this purpose (commercial too). Of course we can install any application/plugin on client computer. Plugin which i can render on webpage and configure to run some command with parameters on click event (command and parameters could change on every page load, can not be compiled in plugin).</p>
  
  <p>I know, there are some questions on this topic, but.. i did not find good solution. Thank you for any help.</p>