CMD Two-Way Message Code

Hey guys,

Does anyone know how / have source code on how to create a two-way messaging app that runs through windows Command Prompt? I don't care what language is in it, nor do I care if you need a server for it. I am looking at this as just a small project to work with.

Thanks,
The Burrito