Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

How to parse CSV using Windows Batch File

$
0
0
Hello all, I've been searching for a way to use a Windows Batch file to read the contents of a specific cell in a CSV, and based on a condition, output a line from the batch file.

For example, the batch file will read the cell D4 (column/row) and will use an IF statement so:IF the cell B4 equals to "1st January, 2013" then OUTPUT "you are using the January file" Can this be done using a windows batch file? And can anyone assist me in structuring the code for the batch file? Thanks in advance.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>