作者:tempuser | 时间:2008-09-03 08:55 | 标题:[求助]帮助完成一个任务?
我需要通过批处理直接打开“Internet(TCP/IP)属性窗口”,让用户完成IP MASK NETGATE DNS“的填写,不知能否实现。
其它批处理方法也行。
作者:qwertl | 时间:2008-09-03 09:33
作者:ch1018 | 时间:2008-09-03 10:05
批处理
netsh命令
作者:tempuser | 时间:2008-09-04 09:35
@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,因为有很多用户!
我该如何完成。
能将上面的批处理解释一下吗?