title: Fetch a specific column values from a .txt file with pipe delimiter and load into a new text file using batch script
body: <p>I have a text file with N number of rows and columns, whereas I need to get particular columns with their values and load it into a new text file using batch script, e.g.:</p>
  
  <p><strong>input.txt</strong> </p>
  
  <pre><code>col1|col2|col3.....col71|col72
  ew|ds|343.....csdk|gfdf
  xc|gh|657.....sdfs|utyy
  qw|zx|345.....ffds|xzcz
  </code></pre>
  
  <p><strong>output.txt</strong></p>
  
  <pre><code>col71|col3
  csdk|343
  sdfs|657
  ffds|345
  </code></pre>