It has to be run in dos, because the output is in dos. If i use mIRC's run command and run app.exe a dos window will pop up, but then i'll have no way of reading the output in that window.