Windows batch script
Posted on 2014-03-24
I have a folder named "Folder1" which contains say 10 txt files.
What i am looking for is a batch script which will parse all 10 txt files and make a csv file with the folder name, so in this example its Folder1.csv
Each line in a csv file represents a txt file , so this csv file should have 10 rows.
The csv has 2 columns only .
Column A -> Holds 1 line of the txt file
Column B -> Holds 2nd line to end of the line in the txt file.
After that in column A of the csv file remove a word "AuthorName" .
Is it feasible via batch script.