bonjour bonjour
aujourd hui je poste un super batch
un menu mac do
croyer moi se nes pas de la merde il est tres innovant
il a de nombreuse fonctionnaliter bon fini de baratiner voici le code de 544 ligne de code source :
aujourd hui je poste un super batch
un menu mac do
croyer moi se nes pas de la merde il est tres innovant
il a de nombreuse fonctionnaliter bon fini de baratiner voici le code de 544 ligne de code source :
- Code:
@echo off
title menu macdo
cls
mode con cols=95 lines=24 &color 0B
:menu
mode con cols=95 lines=24
cls
echo ********* bonjour et bienvenu a Mac_Do **********
echo.
echo veuiller choisir votre menu [1/2/3/4/5/6/7/8/9/10] :
echo.
echo 1/ petit best of
echo 2/ grand best of
echo.
echo 3/ petite frites
echo 4/ grande frites
echo.
echo 5/ boissons
echo 6/ desserts
echo.
echo 7/ changer le skin du menu
echo 8/ votre menu actuelle
echo.
echo 9/ quitter
set /p choix=
:: la 1ere commande ::
if %choix%==1 (
set men1=petit best of
goto b
)
:: la 2eme commande ::
if %choix%==2 (
set men2=grand best of
goto b
)
:: la 3eme commande ::
if %choix%==3 (
echo.
set aaa=petite frites
set men5=petite frites
goto ok2
)
:: la 4eme commande ::
if %choix%==4 (
echo.
set aaa=grande frites
set men6=grande frites
goto ok2
)
:: la commande boisson ::
if %choix%==5 (
set boi=********** boisson **********
goto boisson
)
:: la commande dessert ::
if %choix%==6 (
set des=********** dessert **********
goto dessert
)
:: les commande speciale ::
if %choix%==7 goto skin
if %choix%==8 goto act
if %choix%==9 exit
if %choix%==7
goto skin
if not defined %choix% goto menu
:b
cls
echo ********** Menu Best of **********
echo.
echo que vouler vous dans le menu best of :
echo.
echo 1/ petite frites
echo 2/ grande frites
echo.
echo 3/ retour au menu
set /p choix2=
:: menu 5 ::
if %choix2%==1 (
echo.
set aaa=petite frites
set men3=petite frites
goto ok1
)
:: menu6 ::
if %choix2%==2 (
echo.
set aaa=grande frites
set men4=grande frites
goto ok1
)
:: menu revenir au menu ::
if %choix2%==3 (
goto menu
)
if not defined %choix2% goto b
:ok1
cls
echo %aaa% noter
echo.
pause
goto b
:ok2
cls
echo %aaa% noter
echo.
pause
goto menu
:act
mode con cols=95 lines=71
cls
echo j'usqua mintenant vous aver choisis :
echo.
echo ("commande ECHO desactiver") signifie que vous ne les aver pas choisi
echo.
echo %men1%
echo %men2%
echo %men3%
echo %men4%
echo %men5%
echo %men6%
echo.
echo %boi%
echo.
echo %boi1%
echo %boi2%
echo %boi3%
echo %boi4%
echo %boi5%
echo %boi6%
echo %boi7%
echo %boi8%
echo %boi9%
echo.
echo %des%
echo.
echo %des1%
echo %des2%
echo %des3%
echo %des4%
echo %des5%
echo %des6%
echo %des7%
echo %des8%
echo %des9%
pause>nul
goto menu
:boisson
cls
echo ********** boisson **********
echo.
echo 1/ sprite
echo 2/ coca
echo 3/ desperados
echo 4/ orangina
echo 5/ oasis
echo 6/ biere
echo 7/ Champagne
echo 8/ pepsi
echo 9/ eau
echo.
echo 10/ retourner au menu
set /p choix3=
if %choix3%==1 (
cls
set boi1=sprite
echo sprite tres bon choix
echo.
pause
goto boisson
)
if %choix3%==2 (
cls
set boi2=coca
echo coca tres bon choix
echo.
pause
goto boisson
)
if %choix3%==3 (
cls
set boi3=desperados
echo desperados tres bon choix
echo.
pause
goto boisson
)
if %choix3%==4 (
cls
set boi4=orangina
echo orangina tres bon choix
echo.
pause
goto boisson
)
if %choix3%==5 (
cls
set boi5=oasis
echo oasis tres bon choix
echo.
pause
goto boisson
)
if %choix3%==6 (
cls
set boi6=biere
echo biere tres bon choix
echo.
pause
goto boisson
)
if %choix3%==7 (
cls
set boi7=champagne
echo champagne tres bon choix
echo.
pause
goto boisson
)
if %choix3%==8 (
cls
set boi8=pepsi
echo pepsi tres bon choix
echo.
pause
goto boisson
)
if %choix3%==9 (
cls
set boi9=eau
echo eau tres bon choix
echo.
pause
goto boisson
)
if %choix3%==10 (
goto menu
)
if not defined %choix3% goto boisson
:dessert
cls
echo ********** dessert **********
echo.
echo choisisser votre dessert :
echo.
echo 1/ yaourt au fruit
echo 2/ hamburger fruiter
echo 3/ milk shake
echo 4/ velouter de mac-do
echo 5/ tentacule du clown
echo 6/ string au fruit
echo 7/ cake a la bite
echo 8/ gateau au caca
echo 9/ surprise
echo.
echo 10/ retourner au menu
echo.
set /p choix4=
if %choix4%==1 (
set aaa=yaourt au fruit
set des1=yaourt au fruit
goto desaaa
)
if %choix4%==2 (
set aaa=hamburger fruiter
set des2=hamburger fruiter
goto desaaa
)
if %choix4%==3 (
set aaa=milk shake
set des3=milk shake
goto desaaa
)
if %choix4%==4 (
set aaa=velouter de mac-do
set des4=velouter de mac-do
goto desaaa
)
if %choix4%==5 (
set aaa=tentacule du clown
set des5=tentacule du clown
goto desaaa
)
if %choix4%==6 (
set aaa=string au fruit
set des6=string au fruit
goto desaaa
)
if %choix4%==7 (
set aaa=cake a la bite
set des7=cake a la bite
goto desaaa
)
if %choix4%==8 (
set aaa=gateau au caca
set des8=gateau au caca
goto desaaa
)
if %choix4%==9 (
set aaa=surprise
set des9=surprise
goto surprise
)
if %choix4%==10 goto menu
if not defined goto dessert
:desaaa
cls
echo %aaa% noter
pause>nul
goto dessert
:surprise
mode con cols=100 lines=71 &color 0D
cls
echo ____________________________________$$$$$$$
echo ___________________________________$$$$$$$$$
echo ___________________________________$$$$
echo ___________________________$$$____$$$$
echo _________________________$$$$$$$__$$$$$$$$$$$
echo _______________________$$$$$$$$$___$$$$$$$$$$$
echo _______________________$$$$_________$$$$$$$$$$
echo ________________$$$$__$$$$________________$$$$
echo ________________$$$$__$$$$$$$$$$$_____$____$$$
echo __________$$$___$$$$___$$$$$$$$$$$__$$$$__$$$$
echo _________$$$$___$$$$$___$$$$$$$$$$__$$$$$$$$$
echo ___$$____$$$_____$$$$__________$$$___$$$$$$$
echo __$$$$__$$$$_____$$$$____$$___$$$$_____$$$
echo __$$$$__$$$_______$$$$__$$$$$$$$$$
echo ___$$$$$$$$$______$$$$__$$$$$$$$$
echo ___$$$$$$$$$$_____$$$$___$$$$$$
echo ___$$$$$$$$$$$_____$$$
echo ____$$$$$$$$$$$____$$$$
echo ____$$$$$__$$$$$____$$$
echo ____$$$$$___$$$$$
echo ____$$$$$____$$$$
echo _____$$$$
pause>nul
echo.
echo $**$_$$***$$_$**$
echo $*__*$*******$*__*$
echo $*__***********__*$
echo $***************$
echo $*************$
echo $**$******$***$
echo $**$$*****$$**$
echo $****__$*$__****$
echo $**__*__$$$__*__**$
echo $**__*___$___*__**$
echo $******_____******$
echo $******$$$******$
echo $*************$
echo $****_______****$
echo $****_________****$
echo $***$*_________*$***$
echo $$***$*___$$_$$___*$***$$
echo $****$**__$**$**$__**$****$
echo $*$$**$*___$*****$___*$**$$*$
echo $****$**____$***$____**$****$
echo $***$**_____$*$_____**$***$
echo $$$$**______$______**$$$$
echo $***______________***$
echo $***_________***$
echo $****_ ______****$
echo $*****$*$*****$
echo $*****$*****$
echo $$$$*****$*****$$$$
echo echo $*********$*********$
echo $********$_$********$
echo $$$$$$$$___$$$$$$$$
pause>nul
echo.
echo ____________________s$$$____________s$$
echo _________________.s$$$³_______,___s$$
echo ________________s$$$$³______.s$___$$
echo ________,_______$$$$$.______s$³____³$
echo ___________$___$$$$$$s_____s$³_____³,
echo __________s$___³$$$$$$$s___$$$ _____..
echo __________$$____³$$$$$$s.__³$$s_____,,
echo __________³$.____³$$$$$$$s_.s$$$____s
echo __________`$$.____³$$$$$$$_$$$$___s³
echo ___________³$$s____³$$$$$$s$$$³__s$
echo ____________³$$s____$$$$$s$$$$__s$$
echo ________`s.__$$$$___s$$$$$$$$³_.s$$³__
echo _________$$s_$$$$..s$$$$$$$$$$$$$$³__s$
echo _________s$.s$$$$s$$$$$$$$$$$$$$$$_s$$
echo ________s$$$$$$$$$$$$$$$$$$$$$$$$$$$³
echo _______s$$$ssss$$$$$$$$$$$$$ssss$$$$$
echo ______$$s§§§§§§§§§s$$$$$$s§§§§§§§§s$$
echo ______³§§§§§§§§§§§§§§§s$s§§§§§§§§§§§§s______
echo ______§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§______
echo ______³§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§§______
echo _______³§§§§§§§§§§§§§§§§§§§§§§§§§§§§³______
echo ________³§§§§§§§§§§§§§§§§§§§§§§§§§§³______
echo _________³§§§§§§§§§§§§§§§§§§§§§§§³______
echo ___________³§§§§§§§§§§§§§§§§§§§³______
echo ________.____³§§§§§§§§§§§§§§§³______
echo _______________³§§§§§§§§§§§³______
echo ___________________³§§§³______
echo.
pause>nul
echo.
echo 11111111111111111111111111111111111111001111111111111111111111111
echo 11111111111111111111111111111111111100011111111111111111111111111
echo 11111111111111111111111111111111100001111111111111111111111111111
echo 11111111111111111111111111111110000111111111111111111111111111111
echo 11111111111111111111111111111000000111111111111111111111111111111
echo 11111111111111111111111111100000011110001100000000000000011111111
echo 11111111111111111100000000000000000000000000000000011111111111111
echo 11111111111111110111000000000000000000000000000011111111111111111
echo 11111111111111111111111000000000000000000000000000000000111111111
echo 11111111111111111110000000000000000000000000000000111111111111111
echo 11111111111111111100011100000000000000000000000000000111111111111
echo 11111111111111100000110000000000011000000000000000000011111111111
echo 11111111111111000000000000000100111100000000000001100000111111111
echo 11111111110000000000000000001110111110000000000000111000011111111
echo 11111111000000000000000000011111111100000000000000011110001111111
echo 11111110000000011111111111111111111100000000000000001111100111111
echo 11111111000001111111111111111111110000000000000000001111111111111
echo 11111111110111111111111111111100000000000000000000000111111111111
echo 11111111111111110000000000000000000000000000000000000111111111111
echo 11111111111111111100000000000000000000000000001100000111111111111
echo 11111111111111000000000000000000000000000000111100000111111111111
echo 11111111111000000000000000000000000000000001111110000111111111111
echo 11111111100000000000000000000000000000001111111110000111111111111
echo 11111110000000000000000000000000000000111111111110000111111111111
echo 11111100000000000000000001110000001111111111111110001111111111111
echo 11111000000000000000011111111111111111111111111110011111111111111
echo 11110000000000000001111111111111111100111111111111111111111111111
echo 11100000000000000011111111111111111111100001111111111111111111111
echo 11100000000001000111111111111111111111111000001111111111111111111
echo 11000000000001100111111111111111111111111110000000111111111111111
echo 11000000000000111011111111111100011111000011100000001111111111111
echo 11000000000000011111111111111111000111110000000000000011111111111
echo 11000000000000000011111111111111000000000000000000000000111111111
echo 11001000000000000000001111111110000000000000000000000000001111111
echo 11100110000000000001111111110000000000000000111000000000000111111
echo 11110110000000000000000000000000000000000111111111110000000011111
echo 11111110000000000000000000000000000000001111111111111100000001111
echo 11111110000010000000000000000001100000000111011111111110000001111
echo 11111111000111110000000000000111110000000000111111111110110000111
echo 11111110001111111100010000000001111100000111111111111111110000111
echo 11111110001111111111111110000000111111100000000111111111111000111
echo 11111111001111111111111111111000000111111111111111111111111100011
echo 11111111101111111111111111111110000111111111111111111111111001111
echo 11111111111111111111111111111110001111111111111111111111100111111
echo 11111111111111111111111111111111001111111111111111111111001111111
echo 11111111111111111111111111111111100111111111111111111111111111111
echo 11111111111111111111111111111111110111111111111111111111111111111
pause>nul
goto dessert
:skin
cls
echo choisisser votre skin :
echo.
echo 1/ SKIN SePiA
echo 2/ SKIN NeGaTiF
echo 3/ SKIN BlaCk and WhiTe
echo 4/ SKIN WhIte aNd bLaCk
echo 5/ SKIN BlUe
echo 6/ SKIN ReD
echo 7/ SKIN GrEEn
echo 8/ SKIN YellOw
echo.
echo 9/ retourner au menu
set /p vis=
if %vis%==1 color 06
if %vis%==1 set skin=SePiA
if %vis%==1 goto vis22
:: vision sepia
if %vis%==2 color 0B
if %vis%==2 set skin=NeGaTiF
if %vis%==2 goto vis22
:: vision negatif
if %vis%==3 color 0F
if %vis%==3 set skin=BlaCk and WhiTe
if %vis%==3 goto vis22
:: vision noir et blanc
if %vis%==4 color F0
if %vis%==4 set skin=WhIte aNd bLaCk
if %vis%==4 goto vis22
:: vision blanc et noir
if %vis%==5 color 09
if %vis%==5 set skin=BlUe
if %vis%==5 goto vis22
:: vision bleue
if %vis%==6 color 04
if %vis%==6 set skin=ReD
if %vis%==6 goto vis22
:: vision rouge
if %vis%==7 color 02
if %vis%==7 set skin=GreeN
if %vis%==7 goto vis22
:: vision verte
if %vis%==8 color 0E
if %vis%==8 set skin=YellOw
if %vis%==8 goto vis22
:: vision jaune
if %vis%==9 goto menu
:: vision speciale
if not defined %vis% goto skin
:vis22
SETLOCAL ENABLEDELAYEDEXPANSION ENABLEEXTENSIONS
set SPEED=1
set "TXT=skin %skin% activer"
for /f "tokens=1,* delims=[,]" %%A in ('"%comspec% /u /c echo:%TXT%|more|find /n /v """') do (
set /a MAX=%%A-4
)
for /l %%A in (1,1,%MAX%) do (
cls
echo !TXT:~0,%%A!
@ping localhost -n %SPEED% >nul
)
ENDLOCAL
echo.
pause
goto skin