国外VPS 利用“批处理”修改本机IP地址
@ECHO OFF@ECHO ---------- 设置本机IP地址 ----------if {%1}=={} netsh interface IP set address "本地连接" static 192.168.1.88 255.255.255.0 >nulif NOT {%1}=={} netsh interface IP set address "本地连接" static %1 255.255.255.0 >nulnetsh interface IP set address "本地连接" static gateway=192.168.1.1 gwmetric=1 >nul@ECHO.@ECHO 设置成功!netsh interface IP set dns "本地连接" static 202.96.128.86 >nulnetsh interface ip add dns "本地连接" 202.96.128.166 index=2 >nul
Copyright ? 2013-2024 8a.hk All Rights Reserved. 八艾云 版权所有 中山市八艾云计算有限公司 粤ICP备14095776号 粤公网安备 44200002445359号
增值电信业务经营许可证编号:B1-20222012
代理域名注册服务机构:西部数码