I don't think you can just run DOS program like that over the Internet, as you've found out. I have seen DOS type programs run in Java Sun console, but having never programed script for Java Sun I'm not sure. Maybe worth a look though.
Fujitsu Lifebook P727 laptop review
Converse draws on iconic heritage for a fresh brand identity
Mac power user tips and hidden tricks
Comment lancer Windows 10 en mode sans échec ?