ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.CreateNoWindow = true;
startInfo.UseShellExecute = false;
startInfo.FileName = @".\ext.exe";
startInfo.WindowStyle = ProcessWindowStyle.Hidden;
int i=0;
string item = listView1.Items[i++].Text;
startInfo.Arguments = "--logfile=duration_output.txt " + (item);
I am trying to list all items as a string[], but then the application gives me an empty logfile.
When I use the simple string item = listView1.Items[i++].Text, it gives me only one the first file on the output.
How is it possible to do that?
Are you looking for something like this?