用批处理快速设置IP(新增)
摘要:在学校里经常都设置IP,如果一步一步地点开,再输入很慢,于是想起命令提示下有个netsh命令可以设置IP,于是编了个批处理文件,结果,原来很枯燥的操作变得简单多了,批处理真的很棒!@echo offclsfor %%i in (%1 %2 %3 %4 %5 %6) do goto setip:setipnetsh interface ip set address "本地连接%6" static %1 %2 %3 %4netsh interface ip set dns "本地连接%6" static %5 >nulnetsh interface i
阅读全文
posted @ 2013-08-25 09:47
浙公网安备 33010602011771号