title: How to read and edit (>3GB) csv file using Windows Batch?
body: <p>I am using the below FOR-IN-DO syntax to read and get the last row of (&gt;3GB) csv files</p>
  <pre><code>For /F &quot;UseBackQ Delims==&quot; %%A In (test.csv) Do Set &quot;lastline=%%A&quot;
  </code></pre>
  <p>The code works for small files. However, the FOR-IN-DO cannot open the large csv files. Is there a workaround for this problem?</p>