wany_cao 当前离线
列兵
@echo off (for /f "delims=" %%a in (某市某类人电话号码.txt) do ( set /p =%%a;<nul ))>2.txt复制代码
随风 当前离线
荣誉版主
TOP
weichenxiehou 当前离线
上尉
@echo off&setlocal enabledelayedexpansion set n= set m=1 for /f "delims=" %%i in (某市某类人电话号码.txt) do ( set /a n+=1 if !n! equ 201 set /a n=0,m+=1 set /p=%%i;<nul 1>>"200(!m!).txt" )复制代码
@echo off&setlocal enabledelayedexpansion md temp set /a m=1 for /f "delims=" %%i in (a.txt) do ( set /a n=n%%200+1 echo %%i>>temp\200^(!m!^).txt set /a m+="^!(n%%3^)" ) start "" "temp"复制代码
cjiabing (甲兵时代)当前离线
@echo off&setlocal enabledelayedexpansion set /p wj=请输入文件: echo 拖入文本文件为:%1&pause echo waiting... set m=1 set q=0 :a set /a m+=1 set /a p=%q%+200 for /f "tokens=1,* delims=:" %%a in ('findstr /n .* %wj%^|^|exit') do (if %%a geq %q% if %%a leq %p% echo %%b>>%m%.txt) set /a q+=200 if exist %m%.txt goto a echo OK pause复制代码
terse 当前离线
中将
@echo off&setlocal enabledelayedexpansion for /f "delims=" %%i in (a.txt) do ( set /a m=n/200+1,n+=1 >>"200(!m!).txt" echo %%i ) pause复制代码
CrLf 当前离线
论坛巡查
for /l %%i in (1 1 100) do ( set /a n+=1,m=n/8+1 for /f "eol= tokens=1-25* delims=;" %%a in (all.txt) do ( (for %%z in (a b c d e f g h i j k l m n o p q r s t u v w x y) do echo;%%z)>!m!.txt >all.txt echo;%%z )) set /p all=<all.txt if defined all %0复制代码