Connexion

Récupérer mon mot de passe

Qui est en ligne ?
Il y a en tout 1 utilisateur en ligne :: 0 Enregistré, 0 Invisible et 1 Invité :: 1 Moteur de recherche

Aucun

Le record du nombre d'utilisateurs en ligne est de 21 le Jeu 17 Oct 2013, 13:40
Derniers sujets
Flux RSS



Flag Counter
Partenaires

[bat] Tutoriel sur la creation de Progress bar en batch

Voir le sujet précédent Voir le sujet suivant Aller en bas

[bat] Tutoriel sur la creation de Progress bar en batch

Message par Sachadee le Dim 15 Sep 2013, 17:01

Vu que c'est un sujet qui interesse beaucoup de monde j'ai fait un petit tuto sur les manières de traiter la barre de progression en batch.

Ces exemples complets et fonctionnels genère par eux-même une tâche (création d'un fichiers de 200´'000 octets) et montre la progression de cette création à l'aide de 2 graphes 1 de progression et l'autre de régression.
Nous testons en temps réel la taille du fichier en création.



Si vous avez des doutes ou des questions n´hésitez pas à ouvrir le débat.

Pour commencer créons un fichier progress.bat avec en entête les élèments suivants :

Code:
:::PROGRESS.BAT By SachaDee
:::www.Bbat.forumeiro.com
:::www.Dbatchscript.forumeiros.com
:::www.batch.xoo.it.com

@Echo Off
mode con: cols=120 lines=8
color 1a
setlocal EnableDelayedExpansion
ensuite nous allons emboutir le code de création de notre tâche pour faire fonctionner notre exemple.
En fait nous génerons un autre bat qui une fois lancer va créer un ficher de 200´000 octets.


Code:
::::GEMERATION DE GENERE.BAT QUI SERA NOTE TACHE POUR CETTE EXEMPLE

if not exist genere.bat  (echo @Echo Off
                          echo :::GENERATION D'un fichier de 200 000 Octest
                          echo if exist #nul#.val del #nul#.val
                          echo for /l %%%%a in ^(1=1=50000^) do echo 0 ^>^>#nul#.val)>>genere.bat
On définit les variables relative au test de ce cas, à savoir le nom du fichier que l'on va tester (#nul#.val) et la taille finale de ce même fichier qui va nous servir à définir le "Pas" de progression de notre barre de progression.

Code:
set $taille=200000
set $fichier=#nul#.val
Ici une étape crucial de notre projet la définition du "PAS" ($pas) de progression sur une echelle de 100 donc (/100)
Pour les tres gros fichiers la division ne fonctionne pas. C'est pour cela que je ne vais pas faire une divison mathèmatique mais un supression des 2 dernier caractères

Le point important :

Je vais  multiplier le "PAS" par 4 pour avoir un affichage plus fluide et pour que la création du fichier (#nul#.val) ne
soit pas 2 fois plus rapide que le défilement de notre barre de progression.
Cette valeur de 4 va influencer tout les paramètres de notre code. A savoir :

- le temps d'attente entre chaque test (ping localhost)
- le traitement du graphe (-4 caracteres en fin de ligne et rajout de 4 carctères en début)
- l'incrémentation de notre valeur % ($pc) (+4% à chaque test réussi)

vous pouvez très bien faire le même code avec un facteur 1 en rájustant toutes les variables. mais lors de l'affichage çe n'est pas très propre ç'est trop rapide donc ça clignote.

donc notre "PAS" (/100*4)

Code:
set /a $pas=%$taille:~0,-2%*4
La définition du graphe de base. Dans notre exemple j'ai fait un graphe sur 100 positions (caractères)
J'ai choisi de faire une substitution de caractère que je trouve plus ésthetique. Vous pouvez très bien mettre 100 espaces ou le caractère de votre choix.

Code:
set $graph=°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
Et vu que je vais faire un graphe de régression je vais également définir ça variable ici

Code:
set $graph1=%$graph%
On définit la variable pourcentage à 0 pour le graphe de progression et à 100 pour le graphe de régression.
On définit la valeur de test de la création du fichier temporaire que l'on positionne sur la valeur du premier "PAS"
(8000 dans notre cas)

Code:
set $pc=0
set $pc1=100
set $val_temp=%$pas%
Maintenant le point important le lancement de notre tâche.
Pour pouvoir observer le traitement de notre tâche nous allons la lancer dans un processus parallèle (minimiser)
que nous allons pouvoir observer et analyser depuis notre processus.

donc :

Code:
start /min genere.bat ^& exit
Ici on affiche notre premier graphe vide :


Code:
cls
echo Taille du fichier : %~z1
echo.
echo    [%$graph%] !$pc! %% Trait‚
echo.
echo    [%$graph1%] !$pc! %% Restant
Notre tâche est lancé, nous allons donc entré dans la phase de test et affichage.

On test la taille du fichier en création (#nul#.val) si elle supérieur ou égal à notre $val_temp on incremente d'un $pas
(8000 dans notre exemple, vu que nous avons multiplier notre $pas par 4 en début de script).
si c'est le cas on invrèmente nos valeurs :

 - + 1 "PAS" (8000) pour $val_temp
 - + 4 pour notre valeur % ($pc) progression
 - - 4 pour notre valeur % ($pc1) régression
 - et traitement des graphes (- 4 carcteres en fin de strings et + 4 caractères de substitution) progression et l'inverse pour la régression.

Code:
if %~z1 geq !$val_temp! (set /a $val_temp=!$val_temp!+%$pas%
                        set /a $pc+=4
                         set /a $pc1-=4
                         set $graph=!$graph:~0,-4!
                         set $graph=²²²²!$graph!
                         set $graph1=!$graph1:~4!
                         set $graph1=!$graph1!²²²²)
L'affichage

Code:
echo    [%$graph%] !$pc! %% Trait‚
echo.
echo    [%$graph1%] !$pc1! %% Restant
Lorsque l'on arrive à 100 % on termine

Code:
if !$pc!==100 goto:termine

goto :eof

:termine
endlocal
echo Traitement termin‚
pause
exit
Et voilà

Code complet

progress.bat:
@Echo Off
mode con: cols=120 lines=8
color 1a
setlocal EnableDelayedExpansion
if not exist genere.bat  (echo @Echo Off
                          echo :::GENERATION D'un fichier de 200 000 Octest
                          echo if exist #nul#.val del #nul#.val
                          echo for /l %%%%a in ^(1=1=50000^) do echo 0 ^>^>#nul#.val)>>genere.bat

set $taille=200000
set $fichier=#nul#.val
set /a $pas=%$taille:~0,-2%*4
set $graph=°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°°
set $graph1=%$graph%
set $pc=0
set $pc1=100
set $val_temp=%$pas%

start /min genere.bat ^& echo.^>end.tst ^& exit

cls
echo Taille du fichier : 0
echo.
echo    [%$graph%] !$pc! %% Trait‚
echo.
echo    [%$graph1%] !$pc! %% Trait‚

:progression
call:affiche %$fichier%
goto:progression
goto:eof

:affiche
>nul PING localhost -n 2 -w 1000
cls

echo Taille du fichier : %~z1
echo.

if %~z1 geq !$val_temp! (set /a $val_temp=!$val_temp!+%$pas%
                         set /a $pc+=4
                         set /a $pc1-=4
                         set $graph=!$graph:~0,-4!
                         set $graph=²²²²!$graph!
                         set $graph1=!$graph1:~4!
                         set $graph1=!$graph1!²²²²)

echo    [%$graph%] !$pc! %% Trait‚
echo.
echo    [%$graph1%] !$pc1! %% Restant

if !$pc!==100 goto:termine

goto :eof

:termine
endlocal
echo Traitement termin‚
pause
exit

Bbat paste : http://dbatchpaste.web44.net/bbat/kMW11WjR.html

Voilà pour notre exemple complet No 1

Maintenant me direz-vous, moi je veux faire une barre de progression d'un processus dont je ne peux (ou ne veut) récuperer aucune information du type taille ou quantité. Comment faire dans ce cas là.
Dans ce cas nous allons faire une barre de progression qui est plus une bare d'attente. elle n'auras pas de fin.



Je montrerai plus tard une solution avec l'intègration d'un code HTA de mon ami Hackoo.

Pour le début le code sera le même géneration de la tâche pour votre projet vous pouvez passer cette partie elle est juste là pour avoir un exemple concret et fonctionnel.

Code:
:::PROGRESS.BAT By SachaDee
:::www.Bbat.forumeiro.com
:::www.Dbatchscript.forumeiros.com
:::www.batch.xoo.it.com
@Echo Off
mode con: cols=120 lines=7
color 1a
setlocal EnableDelayedExpansion
if not exist genere.bat  (echo @Echo Off
                          echo :::GENERATION D'un fichier de 200 000 Octest
                          echo if exist #nul#.val del #nul#.val
                          echo for /l %%%%a in ^(1=1=50000^) do echo 0 ^>^>#nul#.val)>>genere.bat
Entrons dans le vif du sujet :

Ici nous allons lancer notre tâche dans un processus parallèle de la même manière que dans l'exemple précédent sauf que cette fois nous avons besoin de savoir quand le processus va se terminer, sinon on va afficher notre barre jusqu'à la fin des temps Very Happy.

Pour ce faire nous allon simplement en fin de processus créer un fichier qui nous servira de test
(temps que le fichier n'est pas créer on incremente notre graphe d'un carctère). Trop simple non ?

Donc on test d'abord si le fichier que l'on va créer en fin de processus n'existe pas. Si il existe on le détruit.

Code:
if exist fin.val del fin.val
ensuite on lançe notre processus, et on génère le fichier témoin en fin du processus :

Code:
start /min genere.bat ^& echo.^>fin.val ^& exit
On définit notre variable graph et on affiche le premier tableau

Code:
cls
set graph=²°
echo traitement En cours veuillez patienter...
echo.
echo    %graph%
Et ensuite l'appele de la fonction où l'on test la présence de notre fichier témoin de fin du processus si il existe on termine, sinon on incremente notre graph de 1 caractère.

Code:
:affiche
>nul PING localhost -n 2 -w 1000
cls
if exist fin.val goto:termine

set graph=²!graph!
echo traitement En cours veuillez patienter...
echo.
echo    %graph%
goto:affiche

:termine
endlocal
echo Traitement termin‚
pause
exit
pogress2.bat:
:::PROGRESS.BAT By SachaDee
:::www.Bbat.forumeiro.com
:::www.Dbatchscript.forumeiros.com
:::www.batch.xoo.it.com
@Echo Off
mode con: cols=120 lines=7
color 1a
setlocal EnableDelayedExpansion
if not exist genere.bat  (echo @Echo Off
                          echo :::GENERATION D'un fichier de 200 000 Octest
                          echo if exist #nul#.val del #nul#.val
                          echo for /l %%%%a in ^(1=1=50000^) do echo 0 ^>^>#nul#.val)>>genere.bat

if exist fin.val del fin.val
start /min genere.bat ^& echo.^>fin.val ^& exit

cls
set graph=²°
echo traitement En cours veuillez patienter...
echo.
echo    %graph%


:affiche
>nul PING localhost -n 2 -w 1000
cls
if exist fin.val goto:termine
set graph=²!graph!
echo traitement En cours veuillez patienter...
echo.
echo    %graph%

goto :affiche

:termine
endlocal
echo Traitement termin‚
pause
exit


Bbatpaste : http://dbatchpaste.web44.net/bbat/bYjRb7FZQ.html


Et voilà pour l'exemple complet No 2


Pour l'exemple No 3 qui est dedié à la copie de fichier.
Nous allons créer un script mixte BAT/VBS qui va récupèrer les fonction de copie windows.
Pourquoi ce compliquer la vie lorsque l'on a tout sous la main :

Je vous mets directement le code avec les explications dedans.
Attention si vous mettez  "chemin\*.*"  comme source. Il va également copié les sous répertoires (cool, non ?)




Code:
@echo off

:::ULTIMATE COPY PROGRESSBAR
:::By SachaDee (2014)
:::DEFINITION DE LA SOURCE DE COPY
:::EN METTANT *.* IL COPIE EGALEMENT LES SOUS-DOSSIERS


set $source=C:\test\*.*

:::DEFINITION DE LA DESTINATION

set $destination=d:\travail

if exist progress.vbs del progress.vbs
(echo Const ProgressBar = ^&H0^&
 echo strTargetFolder = "%$destination%"
echo Set objShell = CreateObject^(^"Shell.Application^"^)
 echo Set objFolder = objShell.NameSpace^(strTargetFolder^)
echo objFolder.CopyHere ^"%$source%^", ProgressBar) >>Progress.vbs


ECHO TRAITEMENT EN COURS VEUILLEZ PATIENTER...
ECHO.By SachaDee (2013)
call progress.vbs
ECHO Traitement termin‚

 


A venir une barre d'attente à l'aide d'un script mixte HTA et bat (Hackoo Vs SachaDee Very Happy)

LA VOILÀ :

:::// BATCH/VBS WaitBar ULTIMATE
:::// MULTIMODELE "VOUS POUVEZ INCLURE LES VOTRES"
:::// By Hackoo & SachaDee
:::// With The GIF from : http://ajaxload.info/
:::// (c) Hack&dee (2013)









Voici un code développer en commun avec mon ami HACKOO vous avec 5 modèles de WAITINGBAR incluse emboutie dans le code
vous pouvez changer de modèle en settant la variable $model de 1 a 5 (testez 5 )

Votre processus de opy par exemple devra être placé dans un fichier "tache.bat" et voilà indépendamment du temps de traitement vous aurez une Jolie waitBBarre qui sera affiché.

WaitBBAR.bat:
:::// BATCH/VBS WaitBar ULTIMATE
:::// MULTIMODELE "VOUS POUVEZ INCLURE LES VOTRES"
:::// By Hackoo & SachaDee
:::// With The GIF from : http://ajaxload.info/
:::// (c) Hack&dee (2013)


@echo off&color 17&cls
echo TRAITEMENT EN COURS...

if exist %tmp%\switch.txt del %tmp%\switch.txt
if exist %tmp%\barre.hta del %tmp%\barre.hta
if exist waitbar.vbs del waitbar.vbs

::://Ici on definit le model de WAITBAR que l'on veut 1 à 5

set $model=5

::://

call:getgif

:::// ON CREE UNE TACHE FICTIVE POUR LES TESTS
:::// A SUPRIMER LORSQUE VOUS AUREZ CREER VOTRE tache.bat
 
echo @echo off>tache,bat

(echo ^>nul Ping localhost -n 10
 echo echo.^>%%tmp%%^\swith.txt)>tache.bat

::://

start waitbar.vbs

::://Votre tâche sera lancé ici au travers de tache.bat

start /min tache.bat ^& echo.^>%temp%\switch.txt ^& exit

:test-fin
if exist %tmp%\switch.txt (taskkill /f /im mshta.exe
                           cls&echo TRAITEMENT TERMINE AVEC SUCCES&pause&exit /b)
>nul Ping localhost -n 1
goto:test-fin

:getgif

(echo Dim fso, f, f2, ts, ts2,Ligne,i
echo Set ws = CreateObject^(^"wscript.Shell^"^)
echo Set FSO = CreateObject^(^"Scripting.FileSystemObject^"^)
echo Set f = fso.GetFile^(WScript.ScriptFullName^)
echo Set ts = f.OpenAsTextStream^(1, -2^)
echo Temp = WS.ExpandEnvironmentStrings^(^"%Temp%^"^)
echo PathOutPutHTML = Temp ^& ^"^\Barre.hta^"
echo Set fhta = fso.OpenTextFile^(PathOutPutHTML,2,True^)
echo fso.CreateTextFile Temp ^& ^"^\loader.gif^"
echo Set f2 = fso.GetFile^(Temp ^& ^"^\loader.gif^"^)
echo Set ts2 = f2.OpenAsTextStream^(2, -2^)
echo for i=1 to 59
echo ts.skipline
echo Next
echo Do
echo Ligne = ts.readline
echo For i=2 to Len^(Ligne^) step 2
echo ts2.write chr^( ^"^&h^" ^& mid^(Ligne,i,2^)^)
echo Next
echo loop until ts.AtEndOfStream
echo ts.Close
echo ts2.Close
echo fhta.WriteLine ^"^^"
echo fhta.WriteLine ^"^^"
echo fhta.WriteLine ^"^Operation en cours Veuillez Patientez SVP . . . . . .^<^/TITLE^>^"
echo fhta.WriteLine ^"^echo fhta.WriteLine ^"ICON = ^"^"dfrgui.exe^"^" ^"
echo fhta.WriteLine ^"BORDER=^"^"THIN^"^" ^"
echo fhta.WriteLine ^"INNERBORDER=^"^"NO^"^" ^"
echo fhta.WriteLine ^"MAXIMIZEBUTTON=^"^"NO^"^" ^"
echo fhta.WriteLine ^"MINIMIZEBUTTON=^"^"NO^"^" ^"
echo fhta.WriteLine ^"SCROLL=^"^"NO^"^" ^"
echo fhta.WriteLine ^"SYSMENU=^"^"NO^"^" ^"
echo fhta.WriteLine ^"SELECTION=^"^"NO^"^" ^"
echo fhta.WriteLine ^"SINGLEINSTANCE=^"^"YES^"^"^>^"
echo fhta.WriteLine ^"^<^/HEAD^>^"
echo fhta.WriteLine ^"^^^^^<^/SPAN^>^<^/DIV^>^<^/CENTER^>^<^/BODY^>^<^/HTML^>^"
echo fhta.WriteLine ^"^ ^"
echo fhta.WriteLine ^"Set ws = CreateObject^(^"^"wscript.Shell^"^"^)^"
echo fhta.WriteLine ^"Temp = WS.ExpandEnvironmentStrings^(^"^"%Temp%^"^"^)^"
echo fhta.WriteLine ^"Sub window_onload^(^)^"
echo fhta.WriteLine ^"    CenterWindow 230,90^"
echo fhta.WriteLine ^"    Self.document.bgColor = ^"^"Orange^"^" ^"
echo fhta.WriteLine ^"    image = ^"^"^^^<^/center^>^"^" ^"
echo fhta.WriteLine ^"    ProgressBar.InnerHTML = image^"
echo fhta.WriteLine ^" End Sub^"
echo fhta.WriteLine ^" Sub CenterWindow^(x,y^)^"
echo fhta.WriteLine ^"    Dim iLeft,itop^"
echo fhta.WriteLine ^"    window.resizeTo x,y^"
echo fhta.WriteLine ^"    iLeft = window.screen.availWidth^/2 - x^/2^"
echo fhta.WriteLine ^"    itop = window.screen.availHeight^/2 - y^/2^"
echo fhta.WriteLine ^"    window.moveTo ileft,itop^"
echo fhta.WriteLine ^"End Sub^"
echo fhta.WriteLine ^"^<^/script^>^"
echo wscript.Sleep 100
echo.
echo.
echo.)>>waitbar.vbs
call:MODEL%$model%
goto:eof
:MODEL1
(echo Set oExec = Ws.Exec^(^"mshta.exe ^" ^& Temp ^& ^"^\Barre.hta^"^)
echo ^'47494638396180000F00F20000FFFFFFA2A9F6E9EBFCE2E4FBB9BFF8A2A9F600000000000021FF0B4E45545343415045322E30030100000021FE1A43726561746564207769746820616A61786C6F61642E696E666F0021F904090A0000002C0000000080000F000003E708B20BFEAC3D17C5A4F1AA7CABF61D3781A3089918B391AB5949A9FB96EC6B9DF58CCBB9DDF340D54E1823B68C365A107664FA744527B4798B56A94AE4343994FE9E57AE35EB5D86B7E86F590B5EBBCF6AB8992C67CFBB3EBA1EBF1FF3FF7E81587862838285886977878A760C039091031392919495930F98990E9B97959F92A1969A98A390A79C009B9EA5A0AEA2B0A49DA6B2A8B6AAADB4AFBBB1BDB3ABACBCC1C3BAC4BEC7C0C6CBB5BFB7CEB9CDC9C2A9D5B8D6D0D8D3D1C5D2CCC2CADEE2DDE4C8DFE6E3E8E5E0DAE7E1EBCFDBEDE9EFEAA2C3BF1AF8C9FAC8F917FB02FAE3077020A8040021F904090A0000002C0000000080000F000003FF08B40BFE22C607A5A0CE5EAC31E89CE581145949A318A24C5B6A5B06BF261C7FF3A9CA75CEEFB89EA6C5A0016D46944EF963068FBEA713B99C5405C4C635696D76A55FAAF7260693A3655B96C03D0BA1EF297A1E0FD32DEBB67ECB1FEFFD7D667F667981697772756E708C898D11858092828688768A83871A059C9D051403A1A203A0A3A1A5A6A8A3AAA2ACA70FA6AF0EB1A4B0B1AEB5B3B19E9DB8BEB6A9C0ABC2ADC4B200B4BFBAC1CBC3CDA2BC9CCAC8B7C6B9D4CCD8CEDAC5CFC7C9D6D3B4D19FE1E6DED7E0E8E2D5EBE7DCDFBBD1ECD9EAF0E9EDF7F4DBF6FDF2BCFBBAE97BE7AF5EBE82FC0EDE028821DB330F0EB941DCF6B021458916055664052001010021F904090A0000002C0000000080000F000003FF08B40BFEAC3D276A9DD40A0CF4C61E17829A58929699A257C44CAE948DF359AFF7F5787AFEF913DEAFC30BF2620458CC482336854C9B530ADD15ADCFAB0FA974457153701588A56AC33DF470ACE6429665F1994D9FDBB378B3C7EDE0ABBF697579728381777A1A7E7E8288848D86856B878E168A7064987F71908F9291809E1A05A3A40513A5A41303ABAC03AAADABAFB0B2ADB4ACB6B10FB0B90EBBAEBABBB803A8A3A7C4C2C8C0B3CAB5CCB7CEBC00BEC9BDC1D0C3C70FC4A6D7D4D2D6D5CBE1CDE3CFE5D1D3DDD7DBC6A8DEE9E7BFF1EFE0DFE2F6E4F8E6FAABECDAD9F3D4051CC84F5E417AF7E015F4E780E141810F092A9C588F62C260EE3064B4C5E10F5EB98EF93E62F0A80FE43E911C13000021F904090A0000002C0000000080000F000003FF08B40BFEAC3D17C97422E70BF4BE9EC085A3576AE73791A05949D43BBDD613AADDBDEA368FF939D64F1834F542B4990CB21C1A9DA8E3B31885E26E2269957ABD2599156558DB25627766E0999CB5B6B9826F6C3C8FA0A76BF77D9B87EFCB785E4D0A83727E6C7F6F7D8B6A8D6948859174877A88969598949A58869D838C8F81A17C8EA2A61A05A9AA0513ABAAADAEAC0F03B4B50313B6B5B8B9B7B3BCBBB9C0B6C2BABEC1C6B6B1B20ECAB0AEC4B4D0BD0EBCD300D5D2D9C8C5D4BFDBB4CD0FE1CCB1DADDC7E7C3DFD6D8EBE6D7DEE9B5E300F4F4EDF2D1EEFBF9ECF1F0E800AAEB67AF9C3883FDDEE113C88DA1BE84FC1CFACB55F0D9418B10334A54F86F1AA1C78EBF305E4CC541A43C0E014F5E48C910E5C06D2E1B9E4C000021F904090A0000002C0000000080000F000003FF08B40BFEAC3D17C9A4F102C1B9EEDE050A1F587667388D2959495835BD16F4AE23F9E4BAC3E3AC5D0E6812067D39DAEC66933533C622F2B8194651575595FACB0A944FC6D219834EA55B74F78C656BD7E9769C032E8BC33005D3DD9BF7E180567C44723C757A6488668A77835E846F827E907F92867B8C798787815C969F9EA16A49989BA5989DA3A285A0AAAE1D05B1B20513B3B2B5B6B40FB9BA0E03BFC00313C1C0C3C4C20FC7C8BEC7C6C4CEC1D0C0BCB8B6D5B3D7B7C9CDDBCFDDD1DFC5E1BFD2E4E3CB00CAD4BBB9D9B1EEBDE9DCCCDEF4E0F6E2F8E6FAE8CAE503EB1C04043070A0BF73FF12225CC8EF5FC176ECAC45C4C6505E3D8BF730E6D3B88F2B63BF791E1F4A140891E4488F0A1B563CA8B225CA9326DF5D804990A2340D17F1E1CCA8F3424E8D3B8B25000021F904090A0000002C0000000080000F000003FF08B40BFEAC3D17C9A4F1AA7C85F7DA07766258929F99A2602561D5E45A902BDB8FB83AFAC8F7939E2008CC157FBAD92D5663C2384F0651373D21AD006175973D7693B8E86BE32443CD5223558DD5B2B9EE2BBCA76C9EEB625A7EEBFBB6BD717E736B721E786863878A61827D818F8091848D028B6596778C90939B7F9C922298697B76A3887A947C436F8EA0839E2205B2B30513B4B3B6B7B50FBABB0EBD1303C2C303C1C4C2C6C7C9C4CBC3CDC80FC7C2C0BCBAB9B7D7B4D9B8D1D2CFC5DDCAE1CCE3CEE5D00ED203D4BFD6D5D8EFDAF1DCE9DEE7E0F5E2F9E4FBE6FDE800D4B10330B0A0BB76F0FEE10B684FE1B787F7BE194C48F060458A03D5417418B12D23478513E52114799164C6860CF5A5E4B7D25F4B801A23521CE96B9E8699256BF6D3A072E7859E2D79B2DC99000021F904090A0000002C0000000080000F000003FF08B40BFEAC3D17C9A4F1AA7CAB1620F885C2189AE245962AB9795065C53056BF9C9D036BEAF4AC5F6F02240E1F40D94CC798289D32E8ED893C0A57466C557B756D4954A644BCC43569BB30CFBAE6B6BDDDD3571E07A9EF51F4992CDD15E73E6F7482817F75027853797C7A63668E8684419259709480888B8F6589699A6A91A16CA26E499FA78AA99E37A496AD83AF2005B3B40513B5B4B7B8B60FBBBC0EBEBAB81303C5C603C4C7C5C9CACCC7CEC6D0C5C1BDBBC2B5D7B9D5C3DBD80FCACBDFE0D2C8E2CDE6CFE8C6D4C0D6DDDAEDDCF1DEF3F000E0E50EF8E4FCEAE1FAE0D8011048D05DBD59D910FACB776FDCC27E00CF453C5650DE4083172D56A4D7503362C77413A33D1C19721AC68DF6502A3CF8EBA3C8920CF79174F98F26328BF534E0CCB8F29D4E8E2135780C7A61A84BA1CF12000021F904090A0000002C0000000080000F000003FF08B40BFEAC3D17C9A4F1AA7CABF697208ADA48866699A2E30662AFCBC1B3CC4C9544DF8FD9F63EC1242804FA86C19C0592C3359931A533FA74109147E3CA1AC49AA4D01A78A7B395C7E62537BBDE02AEDA5F7B84AE57D353F11D0D9F9FFC45805E747B8554877A883C82717F6F5D8D818F3E768A678689998B936E7D9C729F8E44959A97966A78619B9EAC908C8005B1B20513B3B2B5B6B40FB9BA0EBCB8B6C0B31303C5C603C4C7C5C9CACCC7CEC6BFBBB9C2B7D3C1D7C3D9D6BED40FCACBDFE0D0E10EE0C8E2CAD2DDD8ECDAEEDC00EBF2DEF0B1E4E8E6E3E9CFFCC6F8F302D6A3D78EE03B83F1E69DC3C7D05F3900E7041694789062C2810B1DE683B84F2E5F338D16EF6D1369AF174292274D2AECC8F1A3C77E2FFF6944A8A120BC9A076F5EB049F3824B7F1A7EC60CFA2C010021F904090A0000002C0000000080000F000003FF08B40BFEAC3D17C9A4F1AA7CABF61D370924A995E6850A27BA8118FC8A333355524CE316848F2BD623287410812BDEEDE793299B3BA6CE06A51A8348D710BB4D4A6B39706F1A7E92C7E2A5ECD8D55E57D992395D2D7FE7F8FB97FD7603F87F41794E7A848651875681706D2571297D728588948A8395766B5C91908B7E44979693A28999986880A99B9E2505AEAF0513B0AFB2B3B10FB6B70EB9B5B3BDB0BFB40F03C4C50313C6C5C8C9C7C3CCBCB8B6C1AED3BA00D0BBD2D1BEDBC0CEC9CBE0DFC6E1C6D8D7DAD9DCEADEECC2EED4DDEFE8EB00CCCD0EF7E5CAE3C5E7FFE9E8B513380F60BD73FAFA11DBB750E100830321160C28311E3C6B09F3316388CF27DE338A200F868C387262BD8C1EC5695499925C3D771A5E128C3910E605993259AE6CB84F03B8040021F904090A0000002C0000000080000F000003FF08B40BFEAC3D17C9A4F1AA7CABF61D378193609ADA895EAAB091AF1833636541760DDB37B6E78FD6CA217405853C9D2C89FB3997401F14562C09AD2DA694D69C7AB95B49B8371397C9D5630BABD29E95E07737EEAE47E5C4AB5AC53ED99F74777F5F66837169796B7B7E828D80858E8464866688009645949391818F9B9E70957A897C8B2605A8A90513AAA9ACADAB0FB0B10EB3AFADB7AAB9AEB2B01303C0C103BFC2C0C4C5B6BDB8CABACCBCB5BECEA8BBD3D2B400C90EC5C60FDBC3DDDBD9D8D1D0CBE5CDE7CFE3E6EBE8EDEAE2DEC7C2F3C1E2F7E4EFD5E9FBFAD7F8ECE26DABC74D5BB87C00DD258487B061C07CF2C015233860613F8BFF1C2AD4C8901B5D44831325D263974E03C97726DD95BC70B2A54A0021EB699898000021F904090A0000002C0000000080000F000003FF08B40BFEAC3D17C9A4F1AA7CABF61D3781A3F80828AAA56A2561E416BB16E496F36DE7BCC9A6931F8A86331177461D2CD963149D48A84328080A8F4BA98CC9D562B75E25F835AE4D85D6DF772D6637C9EE2E5C4C4DB3E2E1B7B9FC9CEBFB7B5F7527576D867F517E7281878B7640846A8D798E898C88598A945A83673F05A0A10513A2A1A4A5A30FA8A90EABA7A5AFA2B1A6AAA8B3A01303BABB03B9BCBAAEB5B0C2B2C4B4ADB6C6B8CAAC00C1C8C3D0C50EBFBABEBFCFCEC9D2C7DAD1DED3E0DDD9E4DBE2CBD4D5D7BCE5DFEDE1EFE3E6F1E8E7CDD5BD0FF8F4CDFCB7FDF302BA13180EDFBA5DFE98FD5BA8B021B77A09D3FD3A68ED1B370D16C5610C77F10C42C68F1C355E9838921780040021F904090A0000002C0000000080000F000003FF08B40BFEAC3D17C9A4F1AA7CABF61D3781A308998EA0AA1BD99A9584B9B175D27189EF70FEACC09AAEC7630C8D37A212395BCA5E4C0070254C46ABCDAB2FFBC442BBDBAF8D3B964E05DE74585D04B7CB6C67F98C5EDBDF47B73C0FBFEF7F67715A78567A837F647C8A805382868F7D8489859188621374059A9B05139C9B9E9F9D0FA2A30EA5A19FA99CABA0A4A2AD9AB1A60003B6B703A8AFAABBACBDAEA7B0BFB2C3B4BAC1BCC8BECAC0B5B8B6C700D1D3C2CCC4D6C6D5D2DAD4C9DBDECFD0DCE3DEDDCBDFE7E6CDEAD7E8CDE1B9E4E9F2EBF4EDECD9E5F6B4F0F8B3FFC5006213E8EEDEBE09F0DC69F0C66CE1B98617182A8CF870622B87CD1C3C0390000021F904090A0000002C0000000080000F000003E708B40BFEAC3D17C9A4F1AA7CABF61D3781A3089918B391AB5949A9FB96EC6B9DF58CCBB9DDF340D54E1823B68C365A107664FA744527B4798B56A94AE4343994FE9E57AE35EB5D86B7E86F590B5EBBCF6AB8992C67CFBB3EBA1EBF1FF3FF7E81587862838285886977878A760C059091051392919495930F98990E9B97959F92A1969A98A390A79C009B9EA5A0AEA2B0A49DA6B2A8B6AAADB4AFBBB1BDB3ABACBCC1C3BAC4BEC7C0C6CBB5BFB7CEB9CDC9C2A9D5B8D6D0D8D3D1C5D2CCC2CADEE2DDE4C8DFE6E3E8E5E0DAE7E1EBCFDBEDE9EFEAA2C3BF1AF8C9FAC8F917FB02FAE3077020A804003B000000000000000000)>>waitbar.vbs
goto:eof

:MODEL2
(echo Set oExec = Ws.Exec^(^"mshta.exe ^" ^& Temp ^& ^"^\Barre.hta^"^)
echo ^'4749463839612B000B00F100007B69F2FBD010B89A82FBD01021FF0B4E45545343415045322E30030100000021FE1A43726561746564207769746820616A61786C6F61642E696E666F0021F904090A0000002C000000002B000B00000232848E08CB96D9D883F3C50A1BDE56F3CB85E036865859A166277DDE9ABEA70C672D49D787CA2EFAC4B3F93EB8A020324C15000021F904090A0000002C000000002B000B0000023DC48E08CB200F6163B19A84C7AC7CF39861DEF78C6498989FCAA14A434A702CB8076BCDB1ADE9240EB20165141A6F58F27D8ECA4ED3E29A2C6252C7AF000021F904090A0000002C000000002B000B0000023D848E08CB300F6163A99A6A5BDC6FE20F0A13B779E1798CA4D4A0A8BA0EA60BC2EB4C633689E7C9CEE9F9529A98AC35CC308C47CAE9F2992C6252A8AE000021F904090A0000002C000000002B000B00000240848E08CB96D9D89894BA071B7EB1FAB9654CA8349F471E512A7427C5AEA9FB0EB1369BB59D8FFDB2E39164435DEDE62B4A76C8451310BC6022CE1015FA021400003B000000000000000000)>>waitbar.vbs
goto:eof

:MODEL3
(echo Set oExec = Ws.Exec^(^"mshta.exe ^" ^& Temp ^& ^"^\Barre.hta^"^)
echo ^'47494638396132003200F200007B69F20343FA1C4AF70343FA4C59F46D64F25D5FF33753F521FF0B4E45545343415045322E30030100000021FE1A43726561746564207769746820616A61786C6F61642E696E666F0021F904090A0000002C00000000320032000003FB08BADCFE30CA49ABBD38EB25042B5BC80CC3420C8628921CBA80EAC52A83A710421A57B3311C2DDD6E323B0C08B7DF9057020806A0420D063820970E96D466BC5695D806CB07F4D9BEC0B0B8644C3D75C6B47AC4F69CD2F18F103B53184179261D737D0A806000060702077B4B85868C0A8A1D5E6A9086000538020454844D0E051D079F9AA63198264205060407B0A82BA110ADAF8C568EA9B40E38B00406B23BAA0BAEBA6A0496734B9BC9CECFCBB5CFD3CAD1D61B06C1D715AEC9C1C2DB9AD9CFDAE1869FADDDE693D9A2E0CBE9EFD60554D9E5EBA754E9F7E6F4E8EDF8F23590078F5EC05A060FBA23188EA1C28710234A9C48B1A2456B09000021F904090A0000002C00000000320032000003FF08BADCFE30CA49ABBD38E3C2CE619CA61D03B10CC3420C8698ADC222A40A1902B71B15A84C038298C22068E92433E34068187C14C1DCD1B17ACE142B13203B95F0844BE88053083208C6AE8F732D0B49E98340ABAE9500BDE687F804C8FB755B4E7829704045350280813C29062604315589800552473397721C7F671E812474207E8A0B067F695D4D420E654F059107A9753D1064047204976A493BB9529675931168208F9F6AAB1405C71E68B34728BB2A1E0768D34786110606D8C907DE8153B08FE568C5E25EE7E6E5E9EEEE96E1EF0DDCF5C1F31396F5DCF7F8A320CCB8F96B10EF813C71F10E0E4C38B042C186CB14429C48B1A2C58B18336ADCC8B107A3C78F20E725000021F904090A0000002C00000000320032000003FF08BADCFE30CA49ABBD38E3C2CE5905A769C6402C82B01082315622500CAA922E8710C76F67A203540D7053185ABD066110541C062E62EDF871EA928D6775592D2EA3AC1396311B7066B562EE2C38C408D1E4326D96CADA0A563C3C2642014F27372527057879026263252A251F375F8057007C7D363F78062E041F4762950A2158653C4A57A000061E635A121CA0069C04A52F4CB4640762059C077163731367AABDB749027FAEB2A5A258254D129A649A048AC63F1405D3D470C519A413B1D406CC968034C1E3E50F87EAEDA19AF0F1DDEED9F1F2EEF8EAE4F93021FEFC16FC090488ED1F411807132A5CC8B0A1C38710234A9C48B1A2C58B18336AAC98000021F904090A0000002C00000000320032000003FB08BADCFE30CA49ABBD38E3C2CE619CA61903B108C2620886588540317C0ABA1C02EC42A459A7BF1B0D6038B4760CD2E03638DA62021FC0A3434E678A5E10406065A3D62E6330E0C8804F9CD9933C62040320375E2B039E025AD74D308AE072702D044D77292B26056C0A7D521A805974241F367B5307218D569057267944831F888C078E0555169067127D1C9A2A048E6F74A80EAEA50B05B106B5A9742FB10A0506BB5677BF1421C4046EC69C15BBA8BDBE7213BC20C306CD7FC8C9D9DABCD317CF12E0DAE2DC3913A7E84882C6C6DB10ECF4ECF017F5F5F7FBFCFDFEFF00030A1C48B0A0C18308132A5CC8B0A1C38710234A9C48B1A2C58509000021F904090A0000002C00000000320032000003FF08BADCFE30CA49ABBD38E3C208D16063089F72088B711821C52985702CC7AC10C7DB4263090828930D505B1408BA1DA0300812052CA2AD70F0E192CAC3A064D80A15A3A82ADABA2E04034ECC560498DD3E80015BD13A09031BF02B05AF52046418684E682C782C45312C543E06812D84604D72793F33231C6F8F8215068292445E55722C2A72A472900C740D78793A924C430F2A1C9CAC9F134703BD3EB22EAA64059F73165A4D5168AD10ABA5C61B684D6A20C4D02023BDB417C5CC18AF5E1B5805E4DE1154BD501AE5EC2D31E9E6ACED4A29BD962EF165E9F44A6BFCFF00030A1C48B0A0C18308132A5CC8B0A1C38710234A9C48B1A2C58B18336ADCC8310261020021F904090A0000002C00000000320032000003FF08BADCFE30CA49ABBD38E3C208D1606308C6721C8B7170E1C40285802A67BAB6D258D28239039E4581F0C2C1043D0541C0AAC10E3B808168EC0C3E5201D6A9DA0DA3211503C989CD9C845F5058B41C0649E9E0CC04A0B1D357C1D076CF4D2440813505503004517B60196F49067F311F352A1C790A7B7D1306606F6757761F9B521F5F97A21903732F9D473F0F96980C05B3144BA9587670301465A797B41585A981B99910BEB3C61231C36520C9CAB2BE0A23A98B16C91704A973544A7119D1AF0702DC708655202AE5DC32D7E9BC69E670DEF01743ECDCE8F617EBA9AEFCEED50B48B0A0C18308132A5CC8B0A1C38710234A9C48B1A2C58B18336ADCC8B105A3C78309000021F904090A0000002C00000000320032000003E908BADCFE30CA49ABBD38EB45C8FE4B71189CA71444015EA209748B91AE912190CA7194FC69A8B49360A7201C8030000A073030832F81A9702B4E67CA1FCD40CC0980075352167B02338741D726262609B882F6543863D2DDC3B759852D154E21752078423B2D2F1E322A4E40757615810B8551247E2A72598E8318546A6785542E0F994A9C19360352936A4A168F2B0403AA387A9012A72022B347AE5013923102B3B7BF0D05B36A582F5DC61104C3C9434FCE145CD1AAD519723ADADECED8C9E2E3E2A350E1E4E9B3E6DFEDEEEFF0F1F2F3F4F5F6F7F8F9FAFBFCFDFEFF00030A1C48B0A0410709000021F904090A0000002C00000000320032000003F308BADCFE30CA49ABBD38EB65CCFE4B71780A418446015EE2A9182E50902B24D22617778C5A878703E7E083717C32E40F6010906E2FD7CC57A8D68C8BA0EFE0C2F214D61A41207C095C84B2F7A95C1DC88BB4CA40649EA6E0B61B2E0BF63D46786120290C6365631E041E5633792B050267486F655C12838402034E71707A4B106303230A6FA0A1366FA42AA8A92F342F079CAEAF05039C5C4869AF13699BB864B1BD133092C1C4197431C9CD35B3B8D1D1CC28B51BB392D9C7CC74C065CE0D05A3D29DE03269D29C8BE64CABD1C2EC00E3C1BAF160EF04D6CE5CC3F6FEFF00030A1C48B0A0C18308132A5CC8B0A1C3870413000021F904090A0000002C00000000320032000003F508BADCFE30CA49ABBD38EB55CAFE1CE12986C18CE04598240B74A954AC8B41D42E1C43C57193A21607B573180EAC19ABA4D0159B3F05E130A201982F62912088F67E3661F6C9E046A79E9907EB2403CC4DDF8BC66CC70C44F8157935C1EC29025D65836F516E0D47822E705A8889827C6F548F133382418E95780D3D829A8F05825D9C409510538203023E2EA711360702030307AF15054787B7BC18B2A3C085BD00BFC1980F3DB6C3A8B402BDB907CA24B3B5A0458AB4AB4DD402D6315CD9AB7C3DCDBB88D93E2804D9E68F5835D494CB1CDCAEF307D9F6CBEBB4EDCBB4F2E635B022B0A0C18308132A5CC8B0A1C3871023CE4B000021F904090A0000002C00000000320032000003EE08BADCFE30CA49ABBD38EB55CAFE9CE1291D688ADC685605A11A46BA5A2D118EE5CC123150A03E95AED162106C0A1849385C180E481F2FD9CB351BCFA8C1E54359AF8C2C690AF032755F71990B042B0ED0701C4076CB05875E796E873CF1234F677D1C0407025C836E6D6380840D02783C2F518F498791927A960E2D98789C135B95A1A5129F99999B96A8A902AB61A6110203B0603F700FB4028A335BB40303020EBB7686C0C2750BBBBD26C1786D04C30AC57D8C65C031CCA50507CF1ED5A1DEC23DDB9C04C10351E19CC1072AE6A14ACBC2B2C4C2CD96ECF600DEBCFC46A6011C48B0A0C18308132A5C4821010021F904090A0000002C00000000320032000003FC08BADCFE30CA49ABBD38EBCD63E9A0537CA156182430969B612C2B9B9D692C7BEFE2C2E9FD18849C0AA5B0F97E4118D1787400853B55EF687C1697531FE1200458BDD966619B547C9B11E081400286D1CAC3FA8D668EE5F4A37C4D2C12E0487202727D80385B02838615635D8B8F165B7B935C900A04839407028E96188A8B407F0F040302707789A60F050303792D9B02A602650E070307548983855B0D06AE68513AB3AF0CB3A38605B8B91F6DAB8B98A639B31FAE9D3E06B3B50BDC63D180B30729B80223AEB025C400DC0AB8BA9EEDA61FC103F2F3A70AB3D980E624A5F479DAC6001BBE06F00E32B0A7CE5030650ACD348C48B1A2C58BF812000021F904090A0000002C00000000320032000003F208BADCFE30CA49ABBD38EBCDBBFFA055846031929D79A295C9B86C6BAC001C4F85612CF62DE53B45CF27A4018BC406811014CE9049E772758C3A0ACB67AD696D18B234EB3037ED2A0807263767567CD187B4B6FD7AC709744835CF77C0E380715C567F81827D19060783376F11070378373907029607110203611F5F95974C1105030231A0738A0F0403982C734290029C908C2C0595AC2361030351049A02419054A44406C09200B130ABAD37972BB135C59AB5213A0CD2CAAC00BC6DDA06C5E1A55DDA00D5DBC949E6ABE49A9C8DCEDD9BD3BD7C90ADE1F266A3F4E97CE192BDEB438C1C2237DC0E3A81A7B0A1C32809000021F904090A0000002C00000000320032000003EC08BADCFE30CA49ABBD38EBCDBBFF60288E641916A656AC69B6A2EDF5C611BCCCB463183680E7B71DEFC602320A4258D178DCF580CB85900920109CC7270D69B562A95943D7007E20C9E574A3CBEE6A63ED365A7DB1E60A57C96090E21E0E02077A7C23627F81074383247F0757366211028422513E80026F007B31780281286F932D069F890A805A9C2506987307030796A325800436B08205810CAB248AA8B1C10400BCB431B90A06030200CBCDBE29C90A9364B0C4C72604C2CADC9328D1AC820BDF3ECCD49439DBE3CBE3E12D05E7C168D931A5C4E830EFF037F2C5E94CDA2DD80785C1273A08135249000021F904090A0000002C00000000320032000003F608BADCFE30CA49ABBD38EBCDBBFF60288E64699E68AAAE6CBB14B02BC1851CD1B5FDE076DED0328330C6F0B160C22451A7282485CCDF321A3510ACD82BC1B8CA7AB7544CE1605039CB11C3406072120887036132188CACF0F895FB100CF81C707B0C561204037321530005040207804D6B278D7A359100752606078F398E91070368219C8FA48E078C0F87AA227A0CA98C8F0E05932253B2008773B46F007E981EBA05026C6AAA7E00A28924BACBA3BB88C076C825CFD6D435CA996C249C0CC697C60ADCC129BC0AD9DCCC28C50239A268DC6ADE9B02CDE2E5760A75C21E3E6CD9E346AD590A35CD342968D5C2489C2261224A3C91000021F904090A0000002C00000000320032000003FC08BADCFE30CA49ABBD38EBCDBBFF60288E64699E68AAAE6CEBBE702C03C5EC14786D2B79BFD33DDD0FF79B150CC86452C83A2A95CCA2E42088929C93C3E050C2190860036530B06E8EE0B0C1EC200C042135F34B110CC41F22A340381CD80B06645D067E6B34137604235F07043A7D80346492167C8E780004028B925A5C1F7D999A9C0A02A01064A3674C9B8BA4628E007454B36F24AE3CA7935C02705A8B8A22B90A54626E62BEB65C820371A50A06BB005435CA00B7D45B207C0CD5A67000D776350594B8D0D2AFD76EAF6EE12105D39A77E0D1D9D803AFDC0299DFE2F006DDDB7765DE356D992A7550B7C0CE82762DF4504385488AC58B1D12000021F904090A0000002C00000000320032000003F808BADCFE30CA49ABBD38EBCDBBFF60288E64699E68AAAE6CEBBE702CCF746DDFF858EC7C0FF7C042C520B4190682A28947112095A09D613AAD38931F2995089D5CBB19EA8E513058BE1D7099400043D02103DB0C703FE0E9799170B03BF019056C6D0B7C047514668017730C860A0787110703428B156385910A0402669B559D0004480A97188F750707750287020200948A0392A715A9A37DA39E00B00047AC47B1A64F1A069B0A06AE905807C4BFB203ACC5C418650CAB4502D4D194420503950BC91DCB74CB92CF9CB5ECD42105AB85BDBEC4E1EF4E745107FAEBCD0BD180B55BC20DA0B5592C0AD0AB576880BE177CC8E498487143020021F904090A0000002C00000000320032000003FB08BADCFE30CA49ABBD38EBCDBBFF60288E64699E68AAAE6CEBBE702CCF746DDF78AE038450DC82C1E0802AFC2804E18030323A2D85835060E838AF1A4370E0D36019C68C41490419CE9BA4B0CA299C8F47A871DBC5B8D10A0313CACD6F0F71127706717A5581103F41756A4B880E6F0C860A047B10523F52020C524B1388930006075595A2A58063658B929616A1514C05024C079B4955416C9A8FAF046C3C80A2A40007445A44057D0AAC59BF0BB194C2B6CC9BC59E0A9A5EC0C147C6D965B63FB375C5AE1BA36CB3BBD6497B496521D1D2DE65B3F1BA2205CFE00BD4D50BB4706B72C0D2374A0380F592472C9B355154649882B6A3A2C50A09000021F904090A0000002C00000000320032000003F608BADCFE30CA49ABBD38EBCDBBFF60288E64699E68AAAE6CEBBE702CCF746DDF780E1444711F8381E060A01980C1A0805094F10449656F662040A387A9EC78551E7C18B066B8E02107844B61BD29481B058358B2666BEA48C1DC522F372B0502020A06575F7C760A713E7B0F3E4083844969137D7E4D4C125645900C488D957284539906450407000603A9009D7E19714D3C450544AEA99BAE034DAF6DA2A33E478FA981698191BBC961A6659900A80A07AD64D0680BBE6A730494D094D3D27A0A8262591F55B3B7B884024DABAD213CDDC3D2ADC6D8BC223C62DCD8F007C90AFD2161AB1B3805BA56D0F2B740E0966E3A224AD490000021F904090A0000002C00000000320032000003DD08BADCFE30CA49ABBD38EBCDBBFF60288E64699E68AAAE6CEBBE702CCF746DDF780E1043EFFFC09FA0C40B1A81439DEB7030146C029FA049331CA252C2B375202C0A846B6FBB2A4405868621CD2AB80FBD03B9E3BE980F0A03D64BAF579E70780A04677C196E5B4E12848003820A7003737F7E058A6B007556007A82810C96877E9C696069045E8C00576C9F1C885F8A604FA8995D99530BAEA26496897CB5AB82846CAB8E1B7398836CC1615B020264B71EBE0AA6837C7A6C7A8621CA9C5AD8D6D3ABD122D57986C1C20BDA2804C5EBCE6DE1E2795431EB4AFBFC17090021F904090A0000002C00000000320032000003E508BADCFE30CA49ABBD38EBCDBBFF60288E64699E68AAAE6CEBBE702CC30671CC404108435FBC05C381D71B08082D21B12738187E2ADDB27720405586A9D10A3B309D0C439148BC9182D7B071CDE3997133DB130E581E0DB89AFD9856551741433E2D056D780C418439434D7D2C050766905B8E283F436F595B2005950B363F3B6F003B029E169D0A73A935005948A44D88871DA9AEA14842A10750A223B668AE489078906FBE21B60687ADA4B03BB4C81EB6AECCCFBC8BA304B4B550C1C2AAD8AE476757DFCDC40B91A71A69CB0BCDCEF0602773AAB0AEE251F6F2E1EC28EFE8081C8822010021F904090A0000002C00000000320032000003ED08BADCFE30CA49ABBD38EBCDBBFF60288E64699E68AAAEAC68106D541CC350C40E510F30BE18BB836F5110D404B7E1EC6868BC58BA5A0F5020D06AC993C13810020C07EE715A2A1E9362C1A1895A0E046CC561DDE29287006B96B115F8FF7E5E2D7D807F827888796B7B78616F0204068C31558E8104932804642F7F9926336A710A05A3293755819FA7073DA190383704B00A607EA65A07B2B40AB3482205A837064D333DB364A523C15F4D2FB2BABDBC65B5C59154AD0BC8A049C4BD6C6071DB24CCCDB5AE9B0CD7E4DD6C55DD746D59DE54EB8AAB1FE5E6BD53EFF23F719EB5D843AF1EBE7F89122A8C91000021F904090A0000002C00000000320032000003EB08BADCFE30CA49ABBD38EBCDBBFF60288E64C914E6261029260C426BBDB14CD1F60D33069B333845E13018A07E802080505C21933B80E135383CA1B102F57044E20A4D43C3206E290F3E408170A07649CA85A15D84A153710555B02A9BB4510D6C7E320681570E6F637C8C8D564F53026D937C8F88970E838A976D950484886B9D9E579F3C6C7C9B2943928A05A02D47A804AA366B3E6B92693F286C697392B0263D0A73BB73967F626B65C627B51E0528AF283D47CEB6D306D3A6C57732D2C5CDB472DFAB47AF0B04C7D020E16ADB42DDBC5DF1C5E4F4727E6BED23EFF098D474A186E95FC08308AF24000021F904090A0000002C00000000320032000003F308BADCFE30CA49ABBD38EBCDBBFF506180203110A4370C63BA1DC3E16EC55A2C023A53C2890F82DDC4B0FA0585925EAB7744424C4726C3D072026A839B54518065AD00986C0B2030AB48EC15A830F47C60404F77EBAE0EB738B1793D37A8482B68613A5706070289792E501006664C02078529588B0C30899397333D320F040483486671206E07A9AA88947AABAFADA6B243A2B311A992A29CB6220488A9B5B3800B8FAAB305BE049C05BB5622A906CD71C1C8D0B66DC157C9A34222D86887B12ECC86798F68E44EE922E6D9A6E9C300E7C779ECC4EECE8BF1F2D2DD0BF6D7B8E8E3F66E11C06BE9023AE8A7B0A1C387A612000021F904090A0000002C00000000320032000003FF08BADCFE30CA49ABBD386B5848D920440C446832C2602CDFB90DC332AE2E660CC202D3B575908ADFA187497D0AB016E0502272708A5413901A3A1FA3E12D171C58AF8EDF2A45AB822130C0882B6418785764EEF7692B0A078140E9CCDEA95E322902704E642C7A0A06835367690C473F02077C605B0E05559505852E3F8D323C9C04797B449903956EA47A93049D26373110A59306AA357658AF676E07B0BD200607C4C5C5A0C100C3C6C6C8C9CF166FB8D00CA4C4AFD3D0A3C7BCD4CA7CDB5FD004D80D05D96706E4C0CF6F77EADDDE009C4A1DE4E83DE7EF70F0D4FAF3B720E1CB57CF9D3C16050782F9F74E611C700E1F1EE4103159C58918336ADCC891025A02003B000000000000000000)>>waitbar.vbs
goto:eof

:MODEL4
(echo Set oExec = Ws.Exec^(^"mshta.exe ^" ^& Temp ^& ^"^\Barre.hta^"^)
echo ^'47494638396120002000F600007B69F2EEED2F7C6AEE8777DC8E7FD08D7ED08170E47B69F07E6CEB9A8DBBBCB481CEC962C9C46AAFA6968C7DD27F6DE99385C6CAC568EBEA31DFDD458877DA8372E1A59AA7A296AE806FE8AEA598E1DE42D5D058998BBD8878D88A7BD5B6AD8CD2CD5CDBD74DD9D54FA195AFB8AE89E6E439DEDB48A094B0C6BF708271E3B0A695DFDC47E7E5379F93B2E0DD439284C7E3E13EE8E736DCD84BB1A7939587C3D1CC5EE5E33CB9AF87ABA09EACA19DE2DF40ADA39A9B8EBAD8D353988ABFAA9FA0CFCA608B7CD4A396AC9688C19183C99082CBC4BE73DDD94AACA29BB4AB8FBAB185B3A990E9E8349789C09E91B3B5AC8EA99FA1BEB57EBDB57F9C8FB88979D7C2BA789D8FB79E90B5B7AE8A8F81CCB2A891C5BE71D7D2549487C48676DD7D6BED8170E68575DFDAD64FC1B979C2BB768473E1BBB28400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021FF0B4E45545343415045322E30030100000021FE1A43726561746564207769746820616A61786C6F61642E696E666F0021F904090A0000002C00000000200020000007FF800082838485868788898A8B8C8D8D07860829028E86290434052983021C330495841E2A0C350C0D419008394009A182151F2B12B4261F1507070E3C1585151D0F89020920B4C61B099000B984294B464E08880F1621C6B516D287041B250A0688081722D7122127948715CFD18807040C2CD70C44CAEA1EC18906230B1A362E0B84607855E800060F2D5490D8E1031CC141082064209181C30003E91C31E39420828612005FBC7260C1028541031494BB91AF518527134CEC70486041B905BD1C5130424B41CE020CCA31C8D90803941A0B460C0460A0C104632E70646C6480081187CB1C28D860620389930F0B52E0702281038C610F3D786121072F7B899836BA838042C604103F36C5256281C652752460180332242E871A2E366443D401450C632146284380411B5312256845A182A88282CCB440F80020A0089224277262500183490929440B76D4A0A3C78C01BA8CC028D1C302B877466A189932B5D08304333E58E870409C0C63463C083AE0A14901CB880454A8900F819023B44A442704371401DDBC2DFC4D4B9AC60C2526D917126080BBA3400021F904090A0000002C00000000200020000007FF800082838483071554542907858D8E8E0F104928284B2F0F8F998D0234461A12121A4610029AA600154B13A0A0134915A785060E04150241464CACA04641B182070E0D280C584D4446BB1225BDBF000324AB123A284E49D2A02EAF8215158C8F023C1BBB13193C2830A0365B43A5A9490399084221CA2415455A0C0C330408DC51A238C824C0CA38562B726042902205826F006E0529958982924F12603080E04CDE8B270C22284880A163230C0586100942A0D63F9384303831B20085055B300B1D1812A104A80D2720C64200C102018A0F7E602B410293B30E4642288005E0018EA54D3B7A882283443C00079AF494C062430BA1A71074314A11800127559C6ADECC891600CA21040CE4D424E080000C0FEAEE75CB0109147FA71E38E47B65C18A2351B2081E94C2028911251F5550904EC211284E1D1DB0D2A3448D2615A3B09A802473C4B660479890C0654A260C38443081B12041A90305840829D0B68392084BBE6AC61145CA15BD003C4831B1220A1542156A993A8081024EB03C7A80EAC163B2C9212040811862BE63851C2173501D8CBD4891F9F40707020021F904090A0000002C00000000200020000007FF800082838485000786898A890715455D410F8B9386070E4B0B35462315949E00144F2B121225402D92070F18089E0F03050308023E404CA4123A1F0318441638270E028B184E0A5B0A3C152D5CB8A55104275B22261B0A2F5F89B40B25253A0C094D11CE2E4F171125B82E0A5489060D3AB82639412A47A42C114E1926CE120B1C10154A9104062E0D190C54B06084C1872E1596C473B6A1C5B042084E70892181090827880E28C400E001947BB85800F171B15005150B7A44C8314051171436E47DE8A0084185262D8654106808C315233D426CB841A4952104184212ED59C089101E14A60AC240408890022D3D2198A5ADC99610328C40F8544855B64106B5546820A5418B53B6003C40716260500512E94A29B8CB96068A5D831058E0D26D8385B09F2A70684AA8020E23462CD4C43BE9400A0F0E3A711E4DDA1306035A4B0F3A4000C9121F9228A520E02535A10E5134C00008B9D0831C35945098046103291350622B4AA10046842293826C8151E2E3DD0714860E1270450A14D18A1E3889927933000C23A2242140D427494A082804E93BC8C1B82339DEAB26548041892338E8B79F20065CA01E7B03168241768425485A200021F904090A0000002C00000000200020000007FF800082838485070207858A8B8C820604534D14898D95850F175B1B404B0494969507440C251212621915A08A08600882082D62A61225510E02154510410F96032D19174102084E22B4B605042A0C0B512D298D152A1B1A3D491D071E6330B51B162F5847A6251153AF8B450BB4350900084D0A0B0C161E3C35B4121A49AA8B2F359898DA6045D0810A1D283C10D0A2873E5B1E18555060A28489280418355950CA948919FE141D78A1C2C89226BE160DD0D2238604182838A45B74D04185998A0438C861848102214152E05CB50843902E57702CC97065C027301D060CB5740082821E2E4C0041E26F008E2D465A18200AA0020917FA365C0020600A88970CB5321225904F1F0C05F02C8418E8832C01870FC900384003C584230A82900D1281853E1D4904A5E0D1000791A98D1EE468690A0683218310A430F089A8871D0B7A6C8872652C594607BB38994200C36B50074A2BAA50208C6E4688407558B24081274B419024C03CE8C0152EA72CA46C9460810AD7B07D44D001E4CA4C01296C1302464480A5142D48080929E045030B2105050785A0C2834F06541C89D0E5F7ED410F58500346FF554201072F88572070FE2D5860200021F904090A0000002C00000000200020000007FF8000828384858687888900184144410F8A91850F3C51110A3C18929207054630123051450783A59B080FA7073E1B12AF403C0200081D45419A89070E17164490072F112512250C5D0206090A0C512315891D583D325110A5153F40620B161508435B3AA10B5690874335AF3D16E7151C164DD0183F32AF122B33D0860744C3121B4E9C13740A80811C47EEB9783200510A0B282234E850B010021E0B4A30290142482E7E1588D01850D150050B0C3644D84151D1819287045478618507810118606E029960C7120B0410147AB973108216284C6810A180C0A907442C58D9B7B3831162AF4C64480160970231202E0C9404A1C7BD62463A7485B040820B155CC877127175AF44142A823C24A9C1608AD09D03A28C7B2506492E011D7CBC30509456822A5C42804852A0E001013A111D301004420B283F5A0499D59810020239A2A05060C141CED285826011F10AC60221710F1DE8F0C24B6604163630B9278A0069431D3E2C4042B590012D83EF81B072BC10812D1314A83D946249F45735A6542754E1C28D4C8404BC06CEE5AC0E23A4123DF896FE055041419EF4B051424304DCA53D009113A50850000E5118A1C009CDED24807D0E985281030550F0516902A802DB861C7618080021F904090A0000002C00000000200020000007FF8000828384858687888982070F5F8A8F87182F425314029098075D463D40390398900F502612255B44078307AA900797830F1632A64604AA07142F4415AD88065D5741B0024566200C16150007044A0B113341BE8502095B20491E83080E5310BD002948B4121B421888180D13120B3ED485140A2512122B5ACB87082D113D0AB7125568508A05176502AF58E8F2401102085236D4C04200D6A1030830584CF480C0151E0E1A86CAC4EAC1838D2311210872E5C40B03840E60A8802025000110A270E9910C26B30A42663411196AC09376A65040108460080A191F408D2480A29EBD1E2706115010018ABE5041A25865028207B7025DA48E4C2104880E1822C93E742814CFD5030F16A244D951A4A6CD410206F818D1A20B01021550A63C1024C3821E206E307C54B7500A0B1BEC49089164AE401E04FC02005360D7802F05A2C0D02C21C290CA378730C8508619851F0CB8805090A04955D60B9AC0668C640A860315306B9E60E4C28D159A614421A0E8408A86387F6B9691A14595233A2644B8902294001E35584B8081C5C1901D0A924CF90A494093084C58EB9841B342870AE9A41484122E681603082D10F517000F3461840925C000820A9E2D18CB0B1944A1C4051D285648200021F904090A0000002C00000000200020000007FF800082838485868788898A8B8C02151D29078C938205190A1615948C08161B1A2810929B899D22250B34A3001814140F8C1861B083044946509A821516520A4E298A06575A3C1883081405150282075D0C302E4644CD880446470A418A0F23211212353C0889032A1148038ACF0C2E265145AB86020E1C41D689064E244FC68B0704CC4BF480C2005AA4122AEC368082818100204EAA20244A941F1E563D700041D7A6074E80C090B0018A814103764469223151850C2EC295884265508A133B08B44464E00738092E94786455A11CA9032FA2F41081A2C5314301771A7A00E1470E1E430509A0E063C4150227170910802045058483EAA958C06543942B61D10FA52892A063CB0A487A9408A7C1088D7C842A8C305283418E0E100FD04011AE71881C150E80F1521400020E114696D86021582104536AC4682C41031607345418C114A402949F127428E900750803D212562C9962C44489125C5410B1D0A3F1840FB40D7978628289CC051632C820BDA00507232E4AC00032222E210443A270991022029421247490166161C01429288C58A09008C3F01939A6B89AB182F4861608604040170444C60E0615A450CE033C2CB0576E52103048400BA560C1161BD4A0C010682D24887D5770D081518A04020021F904090A0000002C00000000200020000007FF800082838485868788898A8B8C00075F078D92000F043E1D91938B414F2850159A8B4428211F03840F060F8D8F998215164F3C1883152D0D2DA08A021D3E03AE022914B48202430C260C09088A06165B2DC488084E5C121B17AB890F4D3B44CC8907050A112404AE881815DA8A089604EC850702080207E8BBF6E90E3E565D1402421D7A30044B0420287678C0B7E800060C0101082012658504092544E4D0D5C89D851C3E40A5B0D0E3A2C9084418220A8245C4912D1C100CF8E0C2E4452E1C541A3A3064C145313F0C546860C2A604104D2236246044470910421E3CB812A18449180A16B24A31220A8A0C0EEE75405263020C190CA6486B548148970EE0E0789D50814585051F052A286574CFD0830A054E7CD812050781BD850454E8A037118217518E9480C1454B8769447628C8F00D510A1C476C0299028ED0010758241F5150406585273A6C8AB05021451002545609F0E1F3E2021EA50955C850F422930D23825C9082E243130C088654C5B8C047F041083830D0C144C2EA262316C0906022CA8B071D546C30B16189D643B6A24460408203019A26B9583080A08085251610709D691510C041130ED8A6446C17F500850100205001058D2D22C08591C0D243772544C0433C024558C0124070C18005148468082F575C10924E840402003B000000000000000000)>>waitbar.vbs
goto:eof

:MODEL5
(echo Set oExec = Ws.Exec^(^"mshta.exe ^" ^& Temp ^& ^"^\Barre.hta^"^)
echo ^'47494638396126002700F700000202020806070B0B0B100E0F110F101413131816171918161917181C1C1C22221A211F202424242B2B2B302E2E3D332A3434343C37363C3C3C443C254A422B7B542D413F404444444B47444947484B4B4B524F4859544F5352525856575C5B5B685C44605E5F6E614E61605E7365586464646F656D6A6A6A776D6E7E716B716F707473747977787E7D7D8A603881766083766D927762807F7D8B7F7F9D816C8A887381847997887399897AA38060B08968B1936FBB9C6EBD9773B79977C3A57FCCA77D817F808584848B868A8B8A8A9B8C8590878C92918F9C938C9493939C9E939B969C9C9B9CA49A90A59D9A9FA19CA3A29EA8AC9EA19FA0A5A4A3A9A7A4AAA9A7ADADADB0AFADAAB1A1B2B1AEB6B5B4B9B5B0BBBCB4B9B7B8BDBBBBDDB788DCBA8CDEB99CC0BEBFEACE9FD5C5A4C1C0BBD4CAB1D3C5B8FACFAFE6D4ACFFDAAEF4CDB0C4C3C3CBCAC6CCCCCBD5CEC6D0C7CAD1CDCCCDD0C4D3D2CED3CED5D4D4D3DAD9D6DDDCDBF3D6C4F5DAC9DEE5D5EEE3C5E7E2CFFEECC6FFEFC9E7E1D3EBE2D1E4E1DFE7EBDDECEADBFFE6D5FFEDD3FFEBDCFFF4DCE1DFE0E5E4E3E8E7E2EBEAE5EEE7EDEDECEBF0EFEAFCECEAEAF7EDFDF6E4FFFBE2F3F2EDFEF5ECFDFBEAEFEFF7F8EEF7F3EFFEEFF1F0EBF8FFF4F4F4FBF5F5F1FDF0FCFBF5F5F3FCFCF6FDF5FDFDFEFEFE00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000021F904083200000021FF0B4E45545343415045322E3003010000002C00000000260027000008FE0021798A74285221439C3C610A154A53284F953C8992E8A9A24451A21C559C741123C6509D00492A74881025509F1886C25871E2458B823C39BA23D191C79B9BCEC40883668D214A1F197AA2D4D162464573B66C99A3E8A64750A228D1D0E1A2C28E42113BB234EAC88E983B8E38659453C729C64B8FF0F450F385471F491DA18AC53873CE1C4F93B67A9A631614284F797200013326CD9E4812FDFE9D18A84D9B40A236499C94D79317B3A2183D3254C8C70F3F64CC005A8488114B4470E204BA98378E963B931695750AB5224149872A45A214A88B983871C4CCC93B71D326516C6CB41862655122B3A13671A444D493D8E3A2164D7494A8D19D3B1841FED9513145468710478A62EC74111427C5503F558CA2644A162755B2249962A70E1521214070800312D891C94AEB3DE40954E161021514366021C873626921810521306143081A1400800103B061DA5C1531244A28504145470759C8A10759C0217201000934A0020B277868000001D074224526A268C926A0C01181135B94C1851B6D78F1550609203000010E440080000200E08453122168A2276F3C0043134850A1C5155E68C184141D38B040030B0880400200002084475A3198C9447C4C00C20D38143183114B0CD1851744784040040C38900001754620CA2589DDC4E07183D440C10B229000030A26A0C084694B74D000225D50C940003B5E866051FE0C8A32C7021B6CC04107197C60410B0806014103A11C3100030C34D000001260865328422C2081040D48D0A6056EDCF1C107175CC040075136DA40020108C0465FA280129D28BF4A0081BA6F569148061F1AD0C005E0265040020BE06BA759C75D944902EA7A9B4009999C50A700091C9030033CD20881870D28EB511DDE36402C022384A2018D3C1640409C1D8C204100090840B2B2175D5180000C2C502C001988F201000504C0230135370209C5089F8C596D56D8ECA1000D08A081C6360330409DE142902BCD4527009D47A1B8114000540E50C0B076B001C0AA587A5042D23C1A9B00031263C44996F7127B8000628402419D4ADB31C59508D4F96BFE0308288B60227416C080040B5C704007A1545142072B4C218A10740340C005067FA0AC9E250C1040011740F02B034F60B4C94A751CBB340010847041014C487C91166707D080069E43AB4109277890C1DC2B03B0C0B51218A09DC42B25F201047442D081051238F06BC924D3ECFB071E9C90000B082ABB89586258503300F35AD001B4CF838BFA072594608103A2EC499B272B3D849110094060F3E01264208106164439EF0A23401F03DA70A2B4A528139BF0400720B0B40214405D9EB380063E7002F47560016E884CDAC2B3A0EC9C605B73AB53CB2ED0810B94808283D30246DCB7C18734022357C88004F3558005282F041DD0400358E0064DB0E4136E1B2C17FC22939224EC6F010BF080048A95000DB8E138A16061105782884CDCC10B4E228206960801041C608253988216E2A008E36CC21241F448222432073724A20E6ED08218BCE086AEB5211199C884231C819D346AF02607BA89FC3EE247899DF125DBC3131AA9C608E23825200021F90408320000002C0000000026002700870501000B03030B09050D07090D0A0A110305120A0511060A130B0C190E0E0E100F13110D1A120C140E10190E111512131A13141B19161B17181D1A1B221714221B15221619221C1D281C1E23211E29221D2E281D30271E241F20281E212523232A25242A28272C26282C2B2A332B24322D2C382E2B36312634302E3C342C332F303533323A35353D3A303937383C3A3A403A2E413735433C34403738433C3C42413E4C433D4443424944434F4C474947484B4A4B544B45544B48594F4E55514655504A5D574B5453525D55535A59575D5A59635B50615B5C6A645664615A6B645C6667676966666A68676C6A69736B61776F6C7A6F697571667C756B7D7A6B737372797977797978807A6C847C73857F7F7E807F86807280807E8D847B918E7F8481818985848989878B8D8C928781938D83978E8997918398958693948C9B928A9697979898969C9C9BA29A8FA4A09FABA49BA5A5A3ADA7A7ACA9A2ABABABB3A9A0B2AEADB0B0AEBAB6B5BCBCB9C4C3C2C9C9C7CBCBCBD4D0CFD4D2D2DAD6D5DCDCDCE0DCDBE3E4DEE4E5E4E6E8E7EAE9E5ECEDEBF0EEEEEEF1EEF1F1EEEFF3F0F4F4F3F8F5F4F6F8F7FAF9F7F6F9F8FDFDFC00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008FE001F0914A848E022488D20155404A9E1234803211D4CD49062A2878D043A1AC8F1212443830E1A02A4E74E1B366DE2E4F14348E2A24607173D6A44B363C7430D0F026AF26242840F238206BDE2A7212343091F6DB46913E743361226AC58F1E2C68D1A5823B469E8281123884AC3762CF8F0D022995514B8081A22C408B72326887184C81142464CF31E6C586480840C1980BE059CC18A44BB8E123FCCCB11A2D91D133E4826FCA12D01210D1B316AB494F140B3320F8D78D0217008C91F004FA88188915D9A9D05227AA488A1A2B3091BFA511115B5EF0C13501472E9A811C3470707326CE9580F1826472488109141C30710BE7FE6195ED1B8C1C68B14FEF911B3C3C5040F1D1A7C9090DABAF5C01104E028D2E54D20BB081F861708718D101123B0C0820E1D74A0820820B4A560822F6077010817E040041D8628B4984490D0B1C20337D0F04280031C708107289488820A2A9850C2051254A0020E259490C1085B18F24885092D72880A23ACB0168F2F5C20A408259488A20A454A06820A2DA0E0C20A2308B00624872027D0203D42A6C20B2EA850A004488E10E398254070018A1F9420A0100A8CE1122483347485042BDCA0429722B040C374259870A209489AC002092C9820420D1F4AB0C4208F20D290210C1562456A338E49240B1BB490420A329090420C31A858820B1EA8F0411B8034E494422D35924717FE42ACD7A708186070420A249CC00106269080410A3398E0C20E6D0C82934487346263438ABC96C81F5AA80082A0316C00C3061B6C9A020C32F4EA441F1039942C421F31B488215F7DC504000140D0431452506104125878A14516362450C0105F1D62C82166E5A450B35FC109091E1218800102478401071A549CE1051C7578F1830111E45008231479A4E321B3554411248E1C01409900D83084145F20C1851B6E3CF1840C003050C370E7362491C7884C44911D10B41B40022628F10315417021B1114F906040052DD4919823C9F28761788925E2881C22781080055E0FA184B55454600315171BB04005486C5C5C6E3A42321C7E8B94FC8101091C5080FE03104C1145165E70A14614143060787535A421C8C00A91DC6C237BB0D1040812048080050EE81B0007656421031C6A981000051468A00103024470421BFC39DA521E3B28C0EE02010490790216040D001053D06046BE01305081061944A080000228B0031D3355B8C70A00FC15000007F09D8001104050800100E0C0830F7B1750C1F8102CB04004114890FC128E2222440417985FC1070520B00004B91750C001002CA070F5F5AB40062080BC052820321398401514B18407440042950340016A97000C38A07ED563D7012C800004880F0413301FFA26F000C94C800F0B1841061400980328607F012800E62EF780035CAE7A0EC89D05E2973C05187005EA217880F24A7881117CC07213D4D7012C5880061C400207D8A0053BD800F39D2F020B988002DEA282095C4032177062140F10220434806F0E68C0031AD0000960CE02643C400314F0803A7AB103A8B99F042030470208918D6A84C01E1F20813A5A600251A9A3030829810B1408359669231F09A0800698B1920F80401D2550C8072450021DE0641D19C91EDF7CA040A17C000100B9494E2670448844E5072E804809B4D195787CCB08B0330108106000C00C242E5119CB0281B0966B74E2014D3302119CD296AB542327A382CA0E40E83C05420F316D39474F4A26043A738838C349CE7292B333E20C08003B)>>waitbar.vbs
goto:eof

Lien BBATPASTE :
http://dbatchpaste.web44.net/bbat/AyatC1LPEM.html

Lien para Download direct :

https://docs.google.com/file/d/0B9yh04HYXto1SGhzenBpaEJHbm8/edit?usp=sharing


By SachaDee (c) 2013

 


.......


Dernière édition par Sachadee le Jeu 20 Nov 2014, 14:49, édité 5 fois

_________________
@SachaDee
avatar
Sachadee
Admin
Admin

Mensagens : 591
Data de inscrição : 04/06/2013

http://bbat.forumeiro.com

Revenir en haut Aller en bas

Re: [bat] Tutoriel sur la creation de Progress bar en batch

Message par batchnul le Ven 20 Sep 2013, 20:56

Bonsoir SachaDee,

Bravo pour le tutoriel, excellent travail.

A la lecture du code tu pourrais expliquer dans la boucle 
echo 0 ^>^>#nul#.val

Super :star: :star: :star: :star: :star:
avatar
batchnul
Membre
Membre

Mensagens : 65
Data de inscrição : 15/08/2013
Localização : France

Revenir en haut Aller en bas

Re: [bat] Tutoriel sur la creation de Progress bar en batch

Message par Sachadee le Ven 20 Sep 2013, 21:43

Salut batchnul,

et merci !

Pour ta question en fait je doit prendre cette partie du code dans son ensembble pour te répondre :



    Code:
    (echo @Echo Off                         
    echo :::GENERATION D'un fichier de 200 000 Octest                         
    echo if exist #nul#.val del #nul#.val                         
    echo for /l %%%%a in ^(1=1=50000^) do echo 0 ^>^>#nul#.val)>>genere.bat


je pense que se sont les ^> qui t'intrigue.
En fait on va creer un autre "bat" genere.bat qui doit contenir ce code. Mais come > est un carctere spécial je ne peux pas faire un :


Code:
echo echo 0 >>genere.bat
Ça va m'interpreter le >> et par consequent ne pas fonctionner.

Lorsque tu veux écrire des caractères spéciaux dans un batch tu dois les échapper à l'aide de ^pour la plupart et avec % pour le %.

J'espère que c'est plus ou moins clair

_________________
@SachaDee
avatar
Sachadee
Admin
Admin

Mensagens : 591
Data de inscrição : 04/06/2013

http://bbat.forumeiro.com

Revenir en haut Aller en bas

Re: [bat] Tutoriel sur la creation de Progress bar en batch

Message par batchnul le Ven 20 Sep 2013, 21:54

oui très clair 
merci et bonne soirée
avatar
batchnul
Membre
Membre

Mensagens : 65
Data de inscrição : 15/08/2013
Localização : France

Revenir en haut Aller en bas

Re: [bat] Tutoriel sur la creation de Progress bar en batch

Message par Contenu sponsorisé


Contenu sponsorisé


Revenir en haut Aller en bas

Voir le sujet précédent Voir le sujet suivant Revenir en haut

- Sujets similaires

 
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum