
CODE: [Copy to clipboard]@echo off
for /f "tokens=15" %%A in ('ipconfig^|find /i "ip address"') do set IP=%%A
for /f "tokens=1,2 delims=." %%i in ("%IP%") do echo %%i.%%j.0.0 %%i.%%j.255.255>ip.txt
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |