title: Send a message from Javascript running in a browser to a windows batch file
body: <p>Due to an architecture I must work with that likely breaks a lot of very good software design rules, I need to send a message from some javascript code running in a web browser to a windows batch file on the same machine.  The operating systems is Windows Vista or later.  The browsers being used are primarily Chrome and Firefox.  jQuery is also being used with the javascript.</p>
  
  <p>The browser is connected to the internet and their is a server involved, so I could relay the message to the server, and then to the batch file.  Right now I have a batch file that runs every minute or so that could theoretically query the server for any messages.  Other than that, I don't have any good ideas.  </p>
  
  <p>Additionally, <strong>this is a "closed" system</strong>.  The client browser, client system, and server are under my complete control.  It is not a situation where the general public is running the Javascript in their browser.  The the client computer can be manipulated to be able to receive the message.</p>
  
  <p>What is a good way to send this message?</p>