I have a data file as pkg_data.txt
NAR_Infra, T592,08693,-0101,T500,Tetra_TD_Desk5000,8295010512_TSA.P3A ,TELIUM3\TSA ,T501-08665-0102,T501-08681-0100,no_fk
Now I have this script as below:
Code: Select all
@echo off
for /f "tokens=1-12 delims=," %%A in (pkg_data.txt) do call :EachLine %%A %%B %%C %%D %%E %%F %%G %%H %%I %%J %%K %%L
goto :eof
:EachLine
echo var1=%1
echo var2=%2
echo var3=%3
echo var4=%4
echo var5=%5
echo var6=%6
echo var7=%7
echo var8=%8
echo var9=%9
echo var10=%10
echo var11=%11
var1=NAR_Infra
var2=T592
var3=08693
var4=-0101
var5=T500
var6=Tetra_TD_Desk5000
var7=8295010512_TSA.P3A
var8=TELIUM3\TSA
var9=T501-08665-0102
var10=NAR_Infra0
var11=NAR_Infra1
It seems that there is a limitation for this ?
after var9 it did not show the exactly results it should be...
var10=T501-08681-0100
var11=no_fk
Is any way to lift this limit????
Thanks!!!