.NET command line tool to convert delimited files to Microsoft Excel format (xls/xlsx) without Microsoft Excel having to be installed.
The only required parameter is the input file to convert.
csv2excel.exe -i input.csv
All command line options:
i = the path to the input file to convert
o = the path of the output file (path\filename.ext) if outputfile isn't specified, it will be set to the same as the input file with the new extension
c = the delimiter separating columns of input file default delimiter is commma (,)
f = the format for the output file [xls|xlsx] default format is Excel Open XML (xlsx)
t = force all cells in the output worksheet to be of type Text default behavior is to insert as Numbers/Dates (in a General cell) if detected
q = ignore any double-quotes in the file instead of treating them as text-qualifiers
r = resize width of worksheet columns to fit data
v = increase debug message verbosity
h = show command line options
Download the executable here: https://github.com/deztec/csv2excel/releases