@echo.
@echo 本工具由乐达电脑编译(INTO)
@echo ------------------------------------------
@echo 本命令将自动为“本地连接”填写以下内容:
@echo IP地址: 192.168.1.228
@echo 子网掩码: 255.255.255.0
@echo 网关: 192.168.1.1
@echo DNS: 202.96.128.166
@echo ------------------------------------------
@echo.
@ pause
@echo off
@echo IP地址 192.168.1.228 子网掩码: 255.255.255.0
netsh interface ip set address name="本地连接" source=static addr=192.168.1.228 mask=255.255.255.0
@echo 网关 192.168.1.1
netsh interface ip set address name="本地连接" gateway=192.168.1.1 gwmetric=0
@echo 主DNS 202.96.128.166
netsh interface ip set dns name="本地连接" source=static addr=202.96.128.166 register=PRIMARY
@echo 副DNS 202.96.128.86
netsh interface ip add dns name="本地连接" addr=202.96.128.86 index=2
netsh interface ip set wins name="本地连接" source=static addr=nones
@echo 填写完毕!
@ pause