Citation :
echo off
cls
del fch.txt
del fch2.txt
del fch3.csv
for /F "delims=; tokens=5,14,15,16,17" %%i in (r1i03190C.doc) do echo %%i-%%j %%k %%l >> fch.txt
for /F "delims=- tokens=2,6*" %%i in (fch.txt) do echo %%i;%%j>> fch2.txt
for /F "tokens=1,2,3,4,5,6 delims= " %%i in (fch2.txt) do echo %%i;%%j;%%k;%%l;%%m;%%n>>fch3.csv
type fch3.csv
|