Répondre à des questions dans un fichier .bat
Résolu/Fermé
train3000
Messages postés
62
Date d'inscription
mercredi 23 septembre 2009
Statut
Membre
Dernière intervention
1 août 2013
-
19 mars 2010 à 23:43
train3000 Messages postés 62 Date d'inscription mercredi 23 septembre 2009 Statut Membre Dernière intervention 1 août 2013 - 20 mars 2010 à 00:11
train3000 Messages postés 62 Date d'inscription mercredi 23 septembre 2009 Statut Membre Dernière intervention 1 août 2013 - 20 mars 2010 à 00:11
A voir également:
- Bat question
- Fichier bat - Guide
- Bat to exe converter - Télécharger - Édition & Programmation
- Bat @echo off ✓ - Forum Autoit / batch
- Shutdown .bat ✓ - Forum Internet / Réseaux sociaux
- .Bat linux ✓ - Forum Linux / Unix
2 réponses
BeFaX
Messages postés
14202
Date d'inscription
mercredi 24 décembre 2008
Statut
Contributeur
Dernière intervention
6 août 2013
3 843
Modifié par BeFaX le 19/03/2010 à 23:54
Modifié par BeFaX le 19/03/2010 à 23:54
@echo off
:menu
set choix=
cls
echo.
set /p choix= Bonjour! Vous allez bien ? [Oui/Non]
if /i "%choix%"=="OUI" (echo Vous allez bien !&pause>nul&goto menu)
if /i "%choix%"=="NON" (echo Vous allez mal !&pause>nul&goto menu)
goto menu
:menu
set choix=
cls
echo.
set /p choix= Bonjour! Vous allez bien ? [Oui/Non]
if /i "%choix%"=="OUI" (echo Vous allez bien !&pause>nul&goto menu)
if /i "%choix%"=="NON" (echo Vous allez mal !&pause>nul&goto menu)
goto menu
20 mars 2010 à 00:11