I want if pasw and paswconfirm are not the same that it says 3.
but i this is what i get:
Wachtwoord:test
Type het wachtwoord overnieuw:xzcv
1
3
This is my code:
:pasw
cls
:paswretry
set /p pasw=Wachtwoord:
set /p paswconfirm=Type het wachtwoord overnieuw:
if "%pasw%" == "%paswconfirm%" (
echo Weet je het zeker? Het wachtwoord word: %pasw%
CHOICE /c YN /n /m (Y/N)
if "%errorlevel%" == "1" (
echo 1
)
if "%errorlevel%" == "2" (
echo 2
)
) else (
echo 3
)
Aucun commentaire:
Enregistrer un commentaire