修改IP地址
设置静态IP
@echo.
@echo -------------------------------------------
@echo.
@echo 更改“本地链接”IP地址
@echo IP:10.11.1.119
@echo 子网掩码:255.255.0.0
@echo 网关:10.11.1.1
@echo DNS:172.16.0.65
@echo.
@echo -------------------------------------------
@echo.
@echo.
@echo Powered By cjq
@echo.
@echo off
netsh interface ip set address name="本地连接" source=static addr=10.11.1.119 mask=255.255.0.0 gateway=10.11.1.1 gwmetric=0
::netsh interface ip set dns name="本地连接" source=static addr=10.11.1.119
设置自动获取
@echo.
@echo -------------------------------------------
@echo.
@echo 更改“本地链接”IP地址
@echo IP:DHCP
@echo DNS:DHCP
@echo.
@echo -------------------------------------------
@echo.
@echo.
@echo Powered By cjq
@echo off
netsh interface ip set address name="本地连接" source=dhcp
netsh interface ip set dns name="本地连接" source=dhcp
相关推荐
<?php. if (!empty($_POST)) {. $data1 = $_POST["data1"];$data2 = $_POST["data2"];$fuhao = $_POST["fuh