Thank you very much everyone. The setmode binary did the trick. I guess I should learn a bit more about Windows centric programming. Robby