1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
| @echo off
title Demarrage Connection et Configuration TCP/IP
:debut
color C
echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo º######## MENU ############º
echo º# #º
echo º# 1 - Connection IP #º
echo º# 2 - Connection DHCP #º
echo º# 3 - Sortie #º
echo º# 4 - Desactiver #º
echo º###########################º
echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ
Set /p var=
if %var% == 1 goto api
if %var% == 2 goto dhcp
if %var% == 3 goto sortie
if %var% == 4 goto otre
:api
color 9
cls
echo Lancement Reseau sur 10.10.7.3
echo Please wait....
netsh interface ip set address "Lan" static 10.10.7.3 255.0.0.0
cls
goto debut
:dhcp
color 2
cls
echo Lancement Reseau sur DHCP
echo Please wait....
netsh interface ip set address "Lan" dhcp
cls
goto debut
:otre
????? script pour desactiver "Lan"
:sortie
exit |
Partager