title: Combine single page tiffs into multipage tiff using a batch script
body: <p>I have a document scanner that can only scans to single page tiffs and I need to combine them into multipage tiffs. I know Irfanview can do this, however I am open to other options.</p>
  
  <p>Input, <code>C:\Scans</code>:</p>
  
  <blockquote>
  <pre><code>20161001115151800_0001.tif
  20161001115151800_0002.tif
  ...
  up to
  ...
  20161001115151800_0021.tif
  </code></pre>
  </blockquote>
  
  <p>...and...:</p>
  
  <blockquote>
  <pre><code>20161002130918260_0001.tif
  20161002130918260_0002.tif
  ...
  up to
  ...
  20161002130918260_0025.tif
  </code></pre>
  </blockquote>
  
  <p>Desired Output, <code>C:\Output</code>:</p>
  
  <blockquote>
  <pre><code>20161001115151800.tif
  20161002130918260.tif
  </code></pre>
  </blockquote>
  
  <p>I am seeking a solution similar to <a href="https://stackoverflow.com/questions/35629142/bulk-combine-tiffs-based-on-common-file-name-using-irfanview">Bulk Combine TIFFs Based on Common File Name Using Irfanview</a> and <a href="https://stackoverflow.com/questions/30619858/imagemagick-how-to-batch-combine-multiple-tiff-file-to-a-single-tiff-file-in-a">ImageMagick: how to batch combine multiple TIFF file to a single TIFF file in a directory?</a> however I cannot figure out how to implement the first solution as a batch file with my file structure, and the second solution uses sequential filenames which I cannot produce.</p>
  
  <p>Any help is greatly appreciated!</p>