smaller groups

donar

New Email
hi i have about 20k e/m addresses , i want to split them up into 20 x 1000 groups using maybe notepad++, can anyone advise please.
using win7 , 64 bit , avira a/v software , key logger:p
 

EQ Admin

EQ Forum Admin
Staff member
Maybe a batch file would work. I edited a script that was for a different purpose to match yours.

Code:
@echo off
    setlocal enableextensions disabledelayedexpansion

    set "nLines=1000"
    set "line=0"

    for /f "usebackq delims=" %%a in ("addresses.txt") do (
        set /a "file=line/%nLines%", "line+=1"
        setlocal enabledelayedexpansion
        for %%b in (!file!) do (
            endlocal
            >>"passwords_%%b.txt" echo(%%a
        )
    )

    endlocal
 
Top