I am planning to write a batch script wherein I need to scan the values from a particular column of a CSV file one by one and store them in a variable for further processing.
Say, following is the CSV file:
A1 B1 C1 D1 E1 A2 B2 C2 D2 E2 A3 B3 C3 D3 E3 .. .. .. .. ..
I have to read D1, execute a command using it's value, read D2, execute a command, and so on.
How can this be achieved?