Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send text to cmd.exe

Status
Not open for further replies.

DickEp

Programmer
Sep 5, 2001
26
US
How can I send text to the cmd.exe (DOS Box emulator)?

Thanks
 
You want to send text (as if the user was typing at the keyboard) to an instance of cmd.exe that is already running?
 
You can do this with pipes for redirecting cmd.exe's STDIN and you can also use pipes to read the STDOUT and/or STDERR as well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top