Can anyone help me get round the problem of using more than 26 tokens in a batch file.
I need to extract data from a csv file which has approx 50 columns. I can extract data upto column 31 but cannot go any further. The output justs displays %%k.
This is an example of the lines I'm using:
This line displays ok: for /f "tokens=1,2,31 delims=," %%i in (headings.txt) do (echo %%i,%%j,14:30,%%k >> newlst.txt)
This line doesn't display: for /f "tokens=1,2,32 delims=," %%i in (headings.txt) do (echo %%i,%%j,15:00,%%k >> newlst1.txt)