I have a desire to read lines from a TXT file into an Array structure for use in a batch file I am using (to read in configuration elements currently hardcoded).
A few notes/assumptions:
- .TXT file in same directory as the .BAT file
- Only 2 columns to parse, unknown number of rows
- Col1 & Col2 data can contain spaces, but no special chars
- Format/delimiter of the .TXT file can be whatever is convenient to this task: Ex: Col1 | Col2
I'm just looking for a few pointers to get me started.
Thanks!
Mark