|Edit: My post deleted and this substituted. I think this script was posted by Judago, if it is the work of another member I aplogise for not remembering.|
While this handles a .csv file I'm sure you will be able to modify it for your own purposes.
echo 3,b b3,c234567890,de3
for /f "tokens=1-4 delims=," %%a in (%temp%\Myfile.csv) do (
set p1=%%a .
set p2=%%b .
set p3=%%c .
set p4=%%d .
echo !p1:~0,9! !p2:~0,9! !p3:~0,9! !p4:~0,9!
Please come back & tell us if your problem is resolved.