没啥特别的内容。
@echo offrem route print //查看 if接口del %windir%\\system32\\addStaticR.batcd /d %windir%\\system32echo route delete 0.0.0.0 >> addStaticR.batecho route delete 172.16.0.0 >> addStaticR.batecho route add -p 172.16.0.0 mask 255.255.0.0 172.16.180.246 if 16 >> addStaticR.batecho route delete 192.192.0.0 >> addStaticR.batecho route add -p 192.192.0.0 mask 255.255.0.0 192.168.5.33 if 14 >> addStaticR.bat
rem 本地连接echo netsh int ip set address name=\"本地连接\" source=dhcp >> addStaticR.batecho netsh interface ip set address \"本地连接\" static 192.168.5.33 255.255.255.0 192.168.5.254 20 >> addStaticR.bat
rem 无线echo netsh interface ip set address name=\"无线\" source=dhcp >> addStaticR.batecho netsh interface ip set dns name=\"无线\" source=dhcp >> addStatic.batecho netsh interface ip set address \"无线\" static 172.16.180.246 255.255.255.0 172.16.180.254 5 >> addStaticR.batremecho netsh interface ip add address \"无线\" 192.168.186.202 255.255.255.0 192.168.186.1 10 >> addStaticR.batecho netsh interface ip set dns name=\"无线\" static addr=218.2.135.1 register=PRIMARY >> addStaticR.batremecho netsh interface ip add dns name=\"无线\" addr=192.168.186.1 index=2 >> addStaticR.bat
echo exit >> addStaticR.bat
netsh wlan start hostednetworkrunas /user:administrator \"cmd.exe cmd /k addStaticR.bat\"exit
rem #修改 TCPip跃点数