I am looking for a program (written in C++ or C#) that would take filename of filename.csv and add it to the beginning of each line in the file.
For example, my filename.csv looks like this:
Bob, Smith, 658954
Jane, Doe, 128756
Jim, Brown, 564864
I would like the output to look like this:
filename, Bob, Smith, 658954
filename, Jane, Doe, 128756
filename, Jim, Brown, 564864
I would prefer the syntax to look something like: ModCSV.exe filename.csv, which would make it very simple to use.
I am planning to use it on Win 2000 SP4 and Win XP SP1, SP2 machines. Thanks in advance.