title: Add columns into a csv file using batch file
body: <p>I have a csv file with the below contents.</p>
  
  <pre><code>userid,userRole,ContentType
  1,text1,value1,
  2,text2,value2,
  </code></pre>
  
  <p>I want to write a batch file to add few column headers at the beginning of the csv file. I had this piece of code working to add only one additional column. Is it possible to add multiple columns based on column position? <br/></p>
  
  <p>e.g.  I want to add a new column in 2nd and 5th position. </p>
  
  <pre><code>@echo off &gt; newfile.csv &amp; setLocal enableDELAYedeXpansion
  for /f "tokens=* delims= " %%a in (input.csv) do (
  &gt;&gt; newfile.csv echo.FirstName,%%a
  )
  </code></pre>
  
  <p>Any help would be appriciated.</p>