for /l %i in(開頭IP,1,結束IP)do netsh interface ip add address“本地連接1”174.139.111.% i 255.255.255.248
例如添加174.139.111.1到174.139.111.100
for /l %i in(1,1100)do netsh interface ip add address“本地連接1”174.139.111.% i 255.255.255.248
(開始ip,1,結束ip)“網卡名”IP段子網
TOP