原帖由 hanyeguxing 于 2010-5-28 16:51 发表
运行前先备份原始文件:@echo off&chcp 437 >nul&Graftabl 936 >nul
(for /F "tokens=1-5* delims=," %%a in ('type "1.txt"^|more') do (
set "a=%%a,%%b,%%c,%%d,"&set "e=%%e"&set "f=,,,,,%%f"
setlocal enab ...
貌似有点小问题,发现有的表格后面的逗号有数据
1,"frame_0001.png",1,"gif","13",,,,,"000000",1,1,0,0,0,240,240,,6,0,"",0,,,,
2,"frame_0002.png",1,"gif","32","01","C",1.0,1,"000000",2,1,1,0,0,1446,1446,,6,0,"",0,,,,
2,"frame_0002.png",1,"gif","32","01","C",1.0,1,"000000",2,2,5,0,673,1446,1446,,6,0,"",0,,,,
3,"frame_0003.png",1,"gif","11",,,,,"000000",2,1,3,369,0,763,763,,6,0,"",0,,,,
3,"frame_0003.png",1,"gif","11",,,,,"000000",2,2,7,0,0,763,763,,6,0,"",0,,,,
4,"frame_0004.png",1,"gif","11",,,,,"000000",2,1,3,93,-49,531,531,,6,0,"",0,,,,
这样改了后的好像就不对了 |