Use Batch file to add headers to CSV
batch-file
Solution
@echo off
echo group id firstname lastname homephone > new.csv
type old.csv >> new.csv
Type command does not work good with unicode symbols , but this should be ok if your file contains only ascii-ies.
Problem
I have a CSV file that has data that I need to add headers to. I want it to look like this ``` group id firstname lastname homephone acme 1 joe moe 555555555 ``` Currently it looks like this ``` acme 1 joe moe 5555555555 ``` Any help would be greatly appreciated.