in reply to (OT) End-of-Input Character

How to give an EOF from windows Standard input? might give you what you're looking for :-)