title: Batch script Read multi line Argument in Variable
body: <p>I wanted to take list of files to delete from user as a argument. One line per argument.</p>
  
  <p>How can store the list of files separated by new line in a variable.</p>
  
  <p>I am using below command.</p>
  
  <pre><code>Set DeletionFiles=${p:DeleteFiles}"
  
  for %%i in (%DeletionFiles%) do (
    echo %%i
  )
  </code></pre>
  
  <p>Then i wanted to iterated them on a loop.</p>
  
  <p><code>${p:DeleteFiles}</code> will get replaced by it's value from external app, which will contain list of files separated by new line.I can not change it.</p>