B
Blaz Ziherl
I want to pass DOS commands to cmd.exe using Process class. I have one
textbox for writing the input commands and another for displaying
results. However, whenever I call ReadToEnd method of the StreamReader
that reads process StandardOutput, the whole thing hangs, unless I call
"exit" command before that.
I'd like to make an utility where you could write your dos commands in
one textbox and get results in another.
How can I send multiple commands to cmd.exe process, without exiting it
each time?
textbox for writing the input commands and another for displaying
results. However, whenever I call ReadToEnd method of the StreamReader
that reads process StandardOutput, the whole thing hangs, unless I call
"exit" command before that.
I'd like to make an utility where you could write your dos commands in
one textbox and get results in another.
How can I send multiple commands to cmd.exe process, without exiting it
each time?