A
Allan Rojas
Hi,
I want to execute a shell command and retrieve the output of it, is there a
method to do it? All i have found is how to start a process (cmd /C), but i
cannot retrieve the result of the command execution.
For example, it would be ideal if there would be a method like:
string result = ExecuteShellCommand("dir *.txt");
thnx in advance...
I want to execute a shell command and retrieve the output of it, is there a
method to do it? All i have found is how to start a process (cmd /C), but i
cannot retrieve the result of the command execution.
For example, it would be ideal if there would be a method like:
string result = ExecuteShellCommand("dir *.txt");
thnx in advance...