::注意!如果程式较多,可修改25值为更大。
@echo off
ren print0.txt print0.bat&&ren *.p01 print1.bat
call print0
for /f "tokens=1,2 delims=," %%a in (hu.txt) do (if "%%a" neq "CUT" (echo %%a>>hu.nc)else for /l %%b in (1,1,25) do (if not exist %%b.tmp if exist hu.nc ren hu.nc %%b.tmp))
call print1
del print0.bat&del print00.txt&del print1.bat&del hu.txt
echo 全部程式处理完毕!