一、Set命令
1.Dos命令设置IP地址
DHCP命令: C:\Documents Setting\Administrator\netsh netsh\interface netsh interface\ip netsh interface ip\set address "本地连接" dhcp netsh\ 设置固定IP: c:\Documents Setting\Administrator\netsh netsh\interface netsh interface\ip netsh interface ip\set address name="本地连接" addr=IP地址 mask=255.255.255.0 gatewary=网关地址 2.Dos命令设置DNS 命令: Set DNS "本地连接" static DNS的地址 primary