Bonjour

Tout d'abord désolé de vous poser cette question mais j'ai vraiment un trou.
Je voudrais pourvoir passer un paramètre une fois le script lancé :
Précision qui a son importance, il s'agit d'un script .bat

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
@echo off
rem Quel profil ?
-- la le script attend une chaine que je veux mettre dans %choix%
if (%choix% == "DHCP")
goto :DCHP
if (%choix% == "STATIC")
goto :STATIC

:DHCP 
netsh........

goto :exit

:static
.............

:exit
d'avance merci