$7.49 .com domain with free InstantPage Website Builder$1.99 Web Hosting   捷飞网络官方淘宝店   Godaddy 优惠码
返回列表 发帖
分享到:




[其它] bat 命令更改IP地址

  1. @ echo off
  2. FOR /F "tokens=2*" %%i IN ('ipconfig/all^|find /i "Ethernet adapter "') DO set name=%%j
  3. FOR /F "tokens=1* delims=:" %%i in ("%name%") do set 网卡名称=%%i
  4. netsh -c interface ip set address name="%网卡名称%" source=static addr=10.100.55.220 mask=255.255.254.0
  5. netsh -c interface ip set address name="%网卡名称%" gateway=10.100.55.254 gwmetric=0
复制代码




返回列表
Namecheap
Namecheap.com - Cheap domain name registration, renewal and transfers - Free SSL Certificates - Web Hosting
互联网安全