S
Screaming Eagles 101
Hi,
I looked and found a lot of different code regarding send/receiving
input/output to a command window, but none helped me so far.
I would like to start a process with telnet a bit like this
myProcess.StartInfo.FileName = "telnet.exe"
myProcess.StartInfo.Arguments = " -a 199.99.99.99 299" ' (IP and port) =
this works....
then wait for the process to be ready
to send the user + wait
to send the password + wait
to send the sign-on option and quit the process
I didn't find anything that was useful to help me.
I found code with streamreaders and streamwriters and redirecting input and
output,
problem is I don't have a cmd window anymore and I don't see anything
happening, also it's not working because the connection fails...
--
Filip
http://www.ww2airborne.net/
Official Site of the 101st Airborne - 463rd PFA
skype: airborne463pfa-fiwi
[It's nice to be important, but it's more important to be nice!]
----------------------------------------------------------------
I looked and found a lot of different code regarding send/receiving
input/output to a command window, but none helped me so far.
I would like to start a process with telnet a bit like this
myProcess.StartInfo.FileName = "telnet.exe"
myProcess.StartInfo.Arguments = " -a 199.99.99.99 299" ' (IP and port) =
this works....
then wait for the process to be ready
to send the user + wait
to send the password + wait
to send the sign-on option and quit the process
I didn't find anything that was useful to help me.
I found code with streamreaders and streamwriters and redirecting input and
output,
problem is I don't have a cmd window anymore and I don't see anything
happening, also it's not working because the connection fails...
--
Filip
http://www.ww2airborne.net/
Official Site of the 101st Airborne - 463rd PFA
skype: airborne463pfa-fiwi
[It's nice to be important, but it's more important to be nice!]
----------------------------------------------------------------