Start a process for all items in a listbox
<p>How is it possible to run a command line app on all checked items in a checkedlistbox ?</p>

<p>I added my files to the listbox with this code:</p>

<pre><code>  private void button2_Click(object sender, EventArgs e)
  {
      var filters = "*.avi|*.mkv";
      odd.ShowNewFolderButton = false;
      if (odd.ShowDialog() == DialogResult.OK)
      {
          string folderName = odd.SelectedPath;
          string[] files = Directory.GetFiles(folderName, "*.*", SearchOption.AllDirectories);

          foreach (string file in files) checkedListBox1.Items.Add(file, CheckState.Checked);
      }
  }
</code></pre>

<p>Now i want to that x264.exe with parameters process (convert) all (checked) items  added to the listbox</p>
