Salut all
Je fais un petit programme batch, mais un bug me chagrine:
J'ai fais un problème dans mon code a ce point:
__________________________________________________
___
set imput=
set /p input=Enter the password to continue.
if %input%=="azerty" goto o
if not %input%=="azerty" goto n
:n
msg * Wrong Password!
exit
:o
echo Access Granted
set /p imput=
__________________________________________________
___________
Alors le wrong password marche, mais quand je tape le bon ça marche pas.
Et quand je change le password avec azerty, même si je tape le bon mot de passe, ça met que c'est le mauvais.
J'ai besoin d'aide s'il vous plait
Merci d'avance!
redfog. 