windows - Batch or CMD to convert multi-line txt file to single line -


so running batch file kinds of commands , outputs results output.txt

it looks this: output.txt:

aaaaa

,bbbbb

,ccccc

,ddddd

is possible run command within same batch file use finished (output.txt) have move lines single line looks this:

aaaaa,bbbbb,cccccc,ddddd

for /f "usebackqdelims=" %%i in ("input.txt") @<nul set /p"=%%i">>"output.txt" 

Comments

Popular posts from this blog

c - Calling a function within a loop -

vb.net - Unbound DataGridView add row with checkbox error -

How i fill combobox items in Radgridview manually using in vb.net -