2006-09-18

如何使用批处理文件自动换ip,配置,在windows下

如何使用批处理文件自动换ip,配置,在windows下

问题解决
新建批处理文件 setip.cmd
echo off
netsh interface ip set address 本地连接 static 192.168.0.2 255.255.255.0 192.168.0.1 1
echo 0 切换到192.168.0.的ip
echo 2 切换到192.168.1.的ip
ipconfig

要切换到其他ip 以此类推 复制一份出来另存为就可以了

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home