Dos改IP、网关、DNS -电脑资料

电脑资料 时间:2019-01-01 我要投稿
【www.unjs.com - 电脑资料】

    dos改ip,网关,dns的,

Dos改IP、网关、DNS

。当然,你用vbs也可以

    cmd /c netsh interface ip set address name="本地连接" source=static addr=192.168.0.2 mask=255.255.255.0 gateway=192.168.0.1 gwmetric=1

    cmd /c netsh interface ip set dns name="本地连接" source=static addr=202.101.98.55

    导出的命令:netsh interface ip dump >c:\\ip.txt

    导入的命令:netsh exec c:\\ip.txt

最新文章