@echo off
netsh interface IP set address "%1" static %2 255.255.252.0
netsh interface IP set address "%1" gateway=192.168.1.1 gwmetric=1
netsh interface IP set dns "%1" static 218.85.157.99
netsh interface ip add dns "%1" 202.101.111.55 index=2
是这个批处理吗?
我要用户自己输入IP/MASK/GATEWAR/DNS,因为有很多用户!
我该如何完成。
能将上面的批处理解释一下吗?