本帖最后由 zaqmlp 于 2018-9-5 01:03 编辑
回复 11# xczxczxcz
这样改是否快些,另外利用多开合并方法,纯批也可以实现几秒钟几万个甚至更多吧- @echo off & setlocal EnableDelayedExpansion
- cd/d "%~dp0"
- set /a n=-1,m=1,count=10000
- for %%a in (q w e r t y u i o p a s d f g h j k l z x c v b n m 0 1 2 3 4 5 6 7 8 9) do (set /a n+=1 & set "#!n!=%%a")
- (for /l %%a in () do (
- set /a n0=!random!%%26,n1=!random!%%36,n2=!random!%%36,n3=!random!%%36,n4=!random!%%36,n5=!random!%%36,n6=!random!%%36
- set "s="
- for /l %%b in (0 1 6) do (for %%c in (!n%%b!) do set s=!s!!#%%c!)
- if !m! leq %count% (
- for /f "delims=0123456789" %%b in ("!s!") do (if "%%~b" neq "!s!" (set /a m+=1&echo;!s!@126.com))
- ) else exit
- ))>"email.txt"
复制代码
|