Hello,
i need batch script, that extracts data from a .csv file which is in format :
1233
333
4556
to horizontal format separated like : '1233','3333','4556'
Many thanks for support.
Batch script extract from .CSV-vertical,in horizontal format
Moderator: DosItHelp
Re: Batch script extract from .CSV-vertical,in horizontal fo
Your input example does not look like a CSV file. We just did an example recently of reading in a flat text file line by line and then outputting the file as one delimited line. Could you give us a better example of what your input really looks like.
viewtopic.php?f=3&t=5380
viewtopic.php?f=3&t=5380
Re: Batch script extract from .CSV-vertical,in horizontal fo
Code: Select all
@echo off
for /f "delims=" %%a in (file.csv) do set /p =%%a,<nul >>fileout.csv