I have a command line program which say, can calculate average. Now using vb.net how do I execute this "avg calc-avg" and read what is the average from the terminal?
Printable View
I have a command line program which say, can calculate average. Now using vb.net how do I execute this "avg calc-avg" and read what is the average from the terminal?
No idea what you're talking about. Who wrote the 'program', what does it do, etc...
To explain better. Do you know what arguments this program exposes?
Once you know that, you should be able to use the Process.Start to execute the program with its argument list
To find out what arguments this program has, you could use :
Program name /?
Inside the command line