Salut, tu a fait deux erreur:
1) Tu a mi un espace en trop aprés choice:
Set /P Choice = Entrer votre reponce:
2) Tu a mi un > a la place d'un =:
IF %Choice% => 3 Goto Retry
Voici la rectification:
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
| @echo Off
:Start
Echo **Connexion au serveur de http://www.myefarm.fr en cours.....**
echo *Patientez....*
echo ****************************************************************************************************************************************************************
Ping LocalHost
echo ****************************************************************************************************************************************************************
Pause
Echo.
echo La Connexion a-t-elle reussit ??
echo si elle a reussit vous devez voir plusieurs informations ci-dessus
:retry
echo.
echo 1-Oui
echo 2-Non
echo.
Set Choice=
Set /P Choice= Entrer votre reponce:
IF %Choice% == 0 Goto Retry
IF %Choice% == 3 Goto Retry
IF %Choice% == 2 Goto Start
If %Choice% == 1 Goto End
:End
Echo La connexion a réussit vous êtes donc connecté et synchronisé avec l'heure MEF
echo Merci de votre confiance...A Bientôt, sur Connection_MEF. ;-)
Pause |
Partager