2011年6月27日
摘要: @echo offrem //设置变量 set Nic="本地连接" rem //可以根据你的需要更改, set Addr=192.168.192.133set Mask=255.255.255.0set Gway=192.168.192.1set Dns1=192.168.192.1set Dns2=192.168.192.1rem //以上依次为IP地址、子网掩码、网关、首选DNS、备用DNS echo 1 设置为静态IP echo 2 设置为动态IP echo 3 退出 echo ---请选择项目后回车 set /p answer= if %answer%==1 go 阅读全文
posted @ 2011-06-27 16:07 Dream_c 阅读(2828) 评论(0) 推荐(0)