Hello,
I would like to know how you can pass shell commands from a .net form.
Here is what I would like to do:
using the ping command, I would like to capture the Ip address to ping, from text box and pass it to the shell command ping.
User would enter ip address to ping into text box, I would pass it to shell command. ping 192.168.0.1
My reason for this progam is to enable users to use more windows shell commands from a windows form.
Example:
Ping
tracert
netstat with command options
user can select command options and I would pass it into the shell command.
Thanks,
Tam
I would like to know how you can pass shell commands from a .net form.
Here is what I would like to do:
using the ping command, I would like to capture the Ip address to ping, from text box and pass it to the shell command ping.
User would enter ip address to ping into text box, I would pass it to shell command. ping 192.168.0.1
My reason for this progam is to enable users to use more windows shell commands from a windows form.
Example:
Ping
tracert
netstat with command options
user can select command options and I would pass it into the shell command.
Thanks,
Tam