adam162 0 Posted August 25, 2010 Is there a way to write to a cmd window and also let the use write in the cmd window For example in a windows cmd you type "netsh" and you get a prompt "netsh>....." (..... where you enter the command) and then how to read the input Share this post Link to post Share on other sites
Tvern 11 Posted August 25, 2010 (edited) You can use StdoutRead and StdinWrite to read and write from and to the console. However if you run netsh through cmd I don't think that works, so it's best to open netsh directly.Edit: I had to open FTP directly, but if you run netsh from cmd it seems to work fine. Edited August 25, 2010 by Tvern Share this post Link to post Share on other sites
adam162 0 Posted August 25, 2010 Im sorry I used the netsh cmd as an example im not trying to use netsh. I wanted to show that the program sends back "netsh>" and waits for the user to write a command. Is that possible in autoit Share this post Link to post Share on other sites
somdcomputerguy 103 Posted August 25, 2010 This function, ControlSend, will probably be of use to you. Use the AutoIt Window Info Tool (AU3Info) to get the info needed. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Share this post Link to post Share on other sites