hello, how to send a text to a command prompt?

thanks