cmd DHCP动态获取IP

cmd DHCP动态获取IP

@echo.
@echo    -------------------------------------------
@echo.
@echo   DHCP
@echo   
@echo.
@echo    -------------------------------------------
@echo.
@echo.
@echo           Powered By CJF
@pause
@echo off
netsh interface ip set address name="以太网" source=dhcp
netsh interface ip delete dns "以太网" all 
ipconfig /flushdns

你可能感兴趣的:(window-cmd)