Hi everybody
I am traying to creat a batch with it we learn english vocabulary . I have put en Batch on attachements if you can see it , and tell me where is the errors .
thank you so much
memory carte
Moderator: DosItHelp
memory carte
- Attachments
-
- batch test.txt
- (894 Bytes) Downloaded 278 times
Re: memory carte
Perhaps something like this will assist you
Code: Select all
@Echo Off
SetLocal EnableExtensions DisableDelayedExpansion
Set "Reponse="
For %%G In (
"pomme=apple"
"porte=door"
"bras=arm"
"voiture=car"
) Do For /F "Tokens=1,* Delims==" %%H In (%%G) Do (
SetLocal EnableDelayedExpansion
Set /P "Reponse=Quel est le mot anglais pour %%H? "
If /I Not "!Reponse!"=="%%I" (
Echo La reponse etait %%I.
) Else Echo Bravo, vous aviez raison.
EndLocal
)
Pause
Re: memory carte
Hi , yes i tried your batch and it worked
thank you , i am going to learn your batch
much thinks
thank you , i am going to learn your batch
much thinks