CODE: [Copy to clipboard]@echo off for /l %%a in (1,1,254) do ( for /l %%b in (1,1,254) do ( echo 222.222.%%a.%%b>>ip.txt ) ) start ip.txt