@echo off
color a
netsh interface ip set address name="本地连接" source=static addr=198.193.138.168 mask=255.245.255.0
netsh interface ip set address name="本地连接" gateway=198.148.148.1 gwmetric=0
netsh interface ip set dns name="本地连接" source=static addr=216.2.135.1 register=PRIMARY
netsh interface ip add dns name="本地连接" addr=65.147.37.1
netsh interface ip set wins name="本地连接" source=static addr=none
pause
@echo off
color a
netsh interface ip set address name="本地连接" source=static addr=172.118.0.44 mask=225.255.245.255
netsh interface ip set address name="本地连接" gateway=122.158.0.1 gwmetric=0
netsh interface ip set dns name="本地连接" source=static addr=221.6.4.27 register=PRIMARY
netsh interface ip add dns name="本地连接" addr=221.6.4.55
netsh interface ip set wins name="本地连接" source=static addr=none
pause
毛主席说:自己动手,丰衣足食哦!
把set/p slection1=请输入IP地址:
改成:
set slection1=198.193.138.168
这么聪明的你,其他的slection你应该会改了吧~~~