How to invoke cmd.exe through a winform and get the output on the the GUI
from a winform gui control a button or a event should run a command on the cmd.exe in the backend and how to capture the output of it in a string and desplay in a textbox
similarly if i have to issue/get multiple command and its correspondig output in hashtable,
eg, cmd1 its output
cmd2 output
cmd3 output
Answers
Know the answer? Post it. Somebody with the same question will find it here.