netsh interface ip set address name = "無線網路連線" source = dhcp netsh interface ip set dns "無線網路連線" dhcp
只有執行就可以改為DHCP
or LAN_DHCP.bat netsh interface ip set address name = "區域連線" source = dhcp netsh interface ip set dns "區域連線" dhcp
or 指定IP 192.168.0.2 and Gateway 192.168.0.1 and DNS Server 168.95.1.1 netsh interface ip set address name = "無線網路連線" static 192.168.0.2 255.255.255.0 192.168.0.1 1 netsh interface ip set dns "無線網路連線" static 168.95.1.1