windows使用netsh设置静态&动态ip的脚本
2013-05-10 09:45
579 查看
使用netsh设置静态ip地址:
使用netsh设置动态ip地址:
@echo off netsh interface ip set address "本地连接" static 172.24.83.239 255.255.255.0 172.24.83.247 netsh interface ip set dns "本地连接" 172.24.102.110 netsh interface ip add dns "本地连接" 172.24.102.110 index=2 pause
使用netsh设置动态ip地址:
@echo off netsh interface ip set address name="本地连接" source=dhcp netsh interface ip set dns name="本地连接" source=dhcp pause
相关文章推荐
- 使用Python脚本自动修改Windows的IP、网关和DNS设置
- windows脚本设置dns和ip
- 每次手动改IP很烦躁,写个Windows下自动改IP设置的小脚本
- windows脚本设置ip和dns
- 设置IP和代理的Windows Bat脚本
- 如何使用netsh 命令修改windows系统的ip、网关及DNS
- 使用批处理简化Windows IP设置过程(更新最终版)
- windows_IP分配,windows7共享虚拟网络的脚本(自己使用)
- 使用 Windows 中的 Netsh 命令备份网络设置
- Windows 下 自动 设置IP 的 批处理脚本
- 使用Netsh命令修改Windows系统的ip、网关及DNS
- Windows使用笔记_Windows xp IP设置
- windows设置电脑IP脚本
- windows脚本设置网络IP地址
- windows 设置脚本IP
- 使用脚本自动修改ip设置
- windows设置IP脚本
- 设置IP脚本, Windows
- windows脚本设置ip
- Windows下通过bat获取网络连线实际名称,加强IP类设置脚本的兼容性