Jump to content

Recommended Posts

Posted

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

Posted (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 by Tvern
Posted

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...