title: How do I create multiple instances of same exe in c# to pass different inputs to the exe at same time
body: <p>I have developed a console application in C# which takes file path as input and converts the file at the location to PDF format.</p>
  
  <p>I need to do the conversion for 20000 files whose information will be present in a dataset, the approach is to split the load into 4 sets, 5000 records in each dataset and create 4 instances of the console application executable and pass the dataset as input.</p>
  
  <p>I need the console application instances to run parallely to achieve the output fast and making use of the available CPU.</p>
  
  <p>The total files to be converted is 2 Million and hence planning to convert them in batches of 20000.</p>
  
  <p>Could someone please help me on the approach to create multiple instance of same exe file and run them in parallel. Thanks in Advance</p>