
CODE: [Copy to clipboard][ Last edited by lxmxn on 2007-6-20 at 11:22 AM ]@echo off&SetLocal EnableDelayedExpansion
set file=1
for /F "delims=" %%a in (yourfile.ext) do (
set /a num+=1
echo\%%a>>!file!.txt
if !num! equ 100 set /a file+=1&set num=0
)
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |