欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

windows下通過批處理快速批量更換IP方法

 更新時(shí)間:2013年09月04日 15:12:36   作者:  
windows快速批處理更換IP方法適合于經(jīng)常更換IP或者配置大量服務(wù)器IP,平時(shí)基本手動(dòng)配置就好了,這里僅供大姐學(xué)習(xí)交流,windows快速批處理更換IP代碼如下
復(fù)制代碼 代碼如下:

@echo off
rem eth //eth 為網(wǎng)卡名稱,可在網(wǎng)絡(luò)連接中查詢,如”本地鏈接”
set eth=”無線網(wǎng)絡(luò)連接”
rem ip //ip 為你想更改的IP
set ip=192.168.1.8
rem gw //gw 為網(wǎng)關(guān)地址
set gw=192.168.1.1
rem netmasks //netmasks 為子網(wǎng)掩碼
set netmasks=255.255.255.0
echo 正在將本機(jī)IP更改到: %ip%
rem
if %gw%==none netsh interface ip set address %eth% static %ip% %netmasks% %gw% > nul
if not %gw%==none netsh interface ip set address %eth% static %ip% %netmasks% %gw% 1 > nul
echo…………………….
echo 檢查當(dāng)前本機(jī)IP:
ipconfig
echo…………………….
echo 成功將本機(jī)IP更改為%ip%!
pause
close

相關(guān)文章

最新評(píng)論