Split values into separate lines for each delimiter - batch
问题 I'm trying to split the values of a csv file into separate lines using the delimiter=, as a point to split from. i.e. #csv file video1,video2,video3 video4,video5,video6 #Preferred output: video1, video2, video3, ect.... So far I have: @echo off setLocal EnableDelayedExpansion for /f "tokens=* delims=, " %%a in (input.csv) do ( set /a N+=1 echo ^%%a^,>>output.csv ) However I run into the issue of parameter %%a just being added as a string. How would I cause a split instead for each , and put