title: Print Multiple PDF file in one click
body: <p>I want to print existing .pdf files in one click.
  It works fine when i only print one file at a time, but when choose to print multiple files at once it only prints one file.</p>
  
  <p>Here's my code:</p>
  
  <pre><code>List&lt;string&gt; ListFilePath; //Assume i have a collection of filepath stored here
  foreach(string FilePath in ListFilePath)
  {
      Process proc = new Process();
      proc.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
      proc.StartInfo.Verb = "print";
      proc.StartInfo.FileName = FilePath;
      proc.StartInfo.Arguments = String.Format(@"/p /h {0}", FilePath);
      proc.StartInfo.CreateNoWindow = true;
      proc.Start();
      proc.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
      if (proc.HasExited == false)
      {
            proc.WaitForExit(10000);
      }
  
      proc.EnableRaisingEvents = true;
      proc.Close();
  }
  </code></pre>
  
  <p>Where's my mistake?</p>