set IP=192.168.1.1 set MASK=255.255.255.0 set GW=192.168.1.254 set DNS=8.8.8.8 echo netsh interface ip set address "區域連線" static %IP% %MASK% %GW% netsh interface ip set dns "區域連線" static %DNS% echo 已將IP地址設為:%IP%,按任一鍵後繼續…… pause