How to copy and paste data from telnet server window to cmd.
I have created one console application its running perfectly but i want to use it for telnet server window like "telnet 192.168.x.x 23" . my app running into cmd.exe but i want to do this task for telnet window so I want to copy data from server window and paste it on cmd prompt and when data able to appear on cmd it shows result according to input and then paste the data from cmd to telnet server window. is this possible?
Please help i am stuck here.
Thanks.