@echo off
cls
:start
echo.
echo Menu setting Ip Address
echo 1. Setting Ip Address "Local Area Networking" IP : "192.168.0.199"
echo 2. Setting Ip Address "Local Area Networking" Normal
echo 3. Setting Ip Address "Local Area Networking 2" IP : "192.168.0.199"
echo 4. Setting Ip Address "Local Area Networking 2" Normal
echo 5. Keluar
echo.
echo.
set /p pilihan=pilih yang akan gunakan :
IF '%pilihan%' == '%pilihan%' GOTO Item_%pilihan%
:Item_1
start netsh interface ip set address name="Local Area Connection" static 192.168.0.199 255.255.255.0
GOTO Start
:Item_2
start netsh interface ip set address name="Local Area Connection" source=dhcp
GOTO Start
:Item_3
start netsh interface ip set address name="Local Area Connection 2" static 192.168.0.199 255.255.255.0
GOTO Start
:Item_4
start netsh interface ip set address name="Local Area Connection 2" source=dhcp
GOTO Start
:Item_5
exit
cls
:start
echo.
echo Menu setting Ip Address
echo 1. Setting Ip Address "Local Area Networking" IP : "192.168.0.199"
echo 2. Setting Ip Address "Local Area Networking" Normal
echo 3. Setting Ip Address "Local Area Networking 2" IP : "192.168.0.199"
echo 4. Setting Ip Address "Local Area Networking 2" Normal
echo 5. Keluar
echo.
echo.
set /p pilihan=pilih yang akan gunakan :
IF '%pilihan%' == '%pilihan%' GOTO Item_%pilihan%
:Item_1
start netsh interface ip set address name="Local Area Connection" static 192.168.0.199 255.255.255.0
GOTO Start
:Item_2
start netsh interface ip set address name="Local Area Connection" source=dhcp
GOTO Start
:Item_3
start netsh interface ip set address name="Local Area Connection 2" static 192.168.0.199 255.255.255.0
GOTO Start
:Item_4
start netsh interface ip set address name="Local Area Connection 2" source=dhcp
GOTO Start
:Item_5
exit
NB : Harus "Run As Administrator"
Trima Kasih Atas Pengunjungannya... Jangan lupa balek lagi... :3