might be talking out of a hole here, but i remember something from why back in WFWG days, that allowed you to send and recieive the output of a dos session, I think it was something to do with redirecting CON (console input and output) to a file?, i think your program then just read and wrote to that file(s). If you dont have any luck I could go search for it, but its been a long time, might have only worked when it was win9x rather than the WinnT that everyone (almost everyone) is on now.