I am trying to use html/javascript to run a local .exe file in a local browser. The .exe file will generate asci text and I have it programed to encapsulate the text in htm
The short answer: you can't do it without writing a browser plug-in of some sort. Probably there's a simpler way of doing what you want.