WIN7 批处理获取IP

netsh interface ip set address name="本地连接" source=dhcp

netsh interface ip set dns name="本地连接" source=dhcp

ipconfig /release

ipconfig /renew

你可能感兴趣的:(win7,获取IP,批处理)