本帖最后由 ht512 于 2013-4-19 12:48 编辑
备份地址到D盘- netsh interface ip dump >>d:\ ip.txt
复制代码 自动生成这种格式- netsh interface ip set address name="本地连接" source=static addr=192.168.1.2 mask=255.255.255.0
- netsh interface ip set address name="本地连接" gateway=192.168.1.1 gwmetric=0
- netsh interface ip set dns name="本地连接" source=static addr=202.103.96.68 register=PRIMARY
- netsh interface ip add dns name="本地连接" addr=202.103.96.112
- netsh interface ip set wins name="本地连接" source=static addr=none
复制代码 有没有办法实现,本人新手,望各位赐教! |