Page 1 of 1

Animated screen in Batch

Posted: 30 May 2021 22:40
by Emo
Hi everybody

IF I have a simple menu page in my batch, Is there any way to display an animated screen (I mean created by commands) even a simple one inside the batch file after waiting some time, and return to the menu page in this batch "if I press any key" again?

Here is the simple animated screen in my batch

Code: Select all

@echo off
:A
echo                                 .-`                                   
echo                                `sss+-      `:/:`                     
echo                       `.       :sssss+`   .sssss+.                   
echo                       oss/`    /ssssss+`  .sssssss/                   
echo                       sssso.   -ssssssso.  :sssssss+                 
echo                       +sssss.  `sssssssss.  +sssssss+                 
echo           `+o+:.      /ssssss.  +sssssssss. `osssssss/               
echo           :sssss+.    `sssssss. `osssssssso` `osssssss/               
echo           /sssssss:    /sssssso. `osssssssso  .ssssssss/             
echo           -ssssssss+`  `osssssso` `ossssssss/  :ssssssss:             
echo            +sssssssso.  .ssssssso` .sssssssss:  /ssssssss-           
echo            `osssssssss.  -sssssss+` .sssssssss-  +ssssssss.           
echo             -ssssssssso`  -sssssss+  .sssssssss`  ossssssss.         
echo              /ssssssssso`  :sssssss+  -ssssssss+-.+sssssssso`         
echo               +ssssssssso.  /sssssss+  -sssssssssssssssssssso`       
echo                +ssssssssso.  /sssssss:  +ssssssssssssssssssss:       
echo                `ossssssssss.  /sssssssssssssssssssssssssssssss`       
echo                 `ossssssssss.  ossssssssssssssssssssssssssssss/       
echo                  `ossssssssss+ossssssssssssssssssssssssssssssss`     
echo                   `osssssssssssssssssssssssssssso+sssssssssssss.     
echo                    `osssssssssssssssssssssssssss` :ssssssssssss.     
echo             ```     `+ssssssssssssssssssssssssossssssssssssssss       
echo          .+ssssso/:.` /ssssssssssss+/ossso+:.` `ssssssssssssss/       
echo         .ssssssssssssssssssssssssss``:so.   .:/ossssssssssssss.       
echo          :osssssssssssssssssssssssssssss/:+ssssssssssssssssss-       
echo            `:+sssssssssssssssssssssssssssssssssssssssssssss+`         
echo               `-+sssssssssssssssssssssssssssssssssssssssso-           
echo                  -/sssssssssssssssssssssssssssssssssssso:             
echo                     .:/ossssssssssssssssssssssssssso/-`               
echo                         .:/ossssssssssssssssss+/-.`                   
echo                             `.-:////:::---.``                         
ping localhost -n 1 -w 250 >nul
cls
echo                                        :.                             
echo                             `-`       +ss+.                           
echo                             oso-     /sssss-     .-:`                 
echo                  `         -ssss-   `sssssso`   /ssss/`               
echo                .os+:`      /sssso`  `sssssss/   ossssso.             
echo                osssso-     +sssss/  .ssssssss-  /sssssso`             
echo               .sssssss-    +ssssss` .sssssssso  -sssssss:             
echo               .ssssssss.   /ssssss:  +ssssssss:  osssssso`           
echo               `sssssssso`  -sssssss` -sssssssso  :sssssss:           
echo                ossssssss/  `sssssss:  ossssssss. `ssssssso`           
echo                :sssssssss`  /sssssso  -ssssssss/  +sssssss:           
echo                `sssssssss/  .sssssss-  ossssssso  -ssssssso           
echo                 +sssssssss`  +sssssso  :ssssssss-  osssssss.         
echo                 .sssssssss+  .sssssss- `osssssss+  /sssssss+         
echo                  +sssssssss.  +sssssso  :ssssssso.`:ssssssss.         
echo                  -sssssssss+  -sssssss` `sssssssssosssssssss/         
echo                   +sssssssss:  +sssssso/+ssssssssssssssssssss`       
echo                   -ssssssssso-:osssssssssssssssssssssssssssss-       
echo                    osssssssssssssssssssssssssssssssssssssssss:       
echo         `-:::-`    -sssssssssssssssssssssssssssssssssssssssss/       
echo        :sssssss+:.` .ssssssssssssssssssssssssssoossssssssssss+       
echo        :osssssssss+/+sssssssssssssssssssssssss:`.ssssssssssss+       
echo         ./ossssssssssssssssssssss//ssssssooo+oo+ossssssssssss-       
echo           .:ossssssssssssssssssso..os/-..`   `/ssssssssssssso         
echo             `/sssssssssssssssssssssso`       .osssssssssssss.         
echo               :osssssssssssssssssssss+:-.`.:+ssssssssssssss-         
echo                 -+osssssssssssssssssssssssssssssssssssssso.           
echo                   `:ossssssssssssssssssssssssssssssssss+-             
echo                      ./osssssssssssssssssssssssssssso/.               
echo                         .:+ossssssssssssssssssso+/:-                 
echo                             `...--:://///:--..`                       
ping localhost -n 1 -w 250 >nul
cls
echo                                   `-`        `.                       
echo                      .:.         .oso`      :os/                     
echo                     /sss+`      `osss+    `+ssss+                     
echo                    +ssssso`     +sssso    +ssssss.      `             
echo                   -sssssss:    .ssssss`  .sssssss:   .+oso.           
echo                   /ssssssso    /ssssss` `+sssssss/   osssss-         
echo                   +ssssssss`   ossssss. `sssssssso  .sssssso         
echo                   ossssssss-  `sssssss. `sssssssss  -sssssss.         
echo                  `sssssssss:  .sssssss. `sssssssss  -sssssss-         
echo                  `sssssssss:  .sssssss. `sssssssso  -sssssss-         
echo                  .sssssssss:  .sssssss. `ssssssss+  :sssssss-         
echo                  .sssssssss/  .sssssss. `ssssssss+  /sssssss:         
echo                  `sssssssss+  .sssssss. `ssssssss/  /sssssss:         
echo                  `ssssssssso  .sssssss- `ssssssss/  +sssssss:         
echo                  `ssssssssss  .sssssss- `ssssssss:  osssssss-         
echo                  `ssssssssss  `sssssss. `ssssssss-  osssssss-         
echo      ./+++/:.    `ssssssssss/:+sssssss+/+sssssssso++ssssssss-         
echo      osssssso/.   +sssssssssssssssssssssssssssssssssssssssss-         
echo      -ossssssss/.`-sssssssssssssssssssssssssssssssssssssssss-         
echo       .+sssssssssoosssssssssssssssssssssssssssssssssssssssss-         
echo        `/sssssssssssssssssssssssssssssssssssssssssssssssssso`         
echo          :ssssssssssssssssssso+ossssssssssso+osssssssssssss+         
echo          `/ssssssssssssssssss-`-ssssoooosss/`.ossssssssssss-         
echo            -osssssssssssssssssoo+-.......-+soosssssssssssso           
echo             `:ssssssssssssssssss/   /++.  .sssssssssssssss-           
echo               .+sssssssssssssssss.  /oo-  /ssssssssssssss-           
echo                 -ossssssssssssssss:`` ``-+ssssssssssssso.             
echo                  `:ossssssssssssssssooosssssssssssssss/`             
echo                     .:+ossssssssssssssssssssssssssso/.               
echo                         `-:/osssssssssssssssssss+:.                   
echo                              ``.-:://///////:-.`                     
ping localhost -n 1 -w 250 >nul
cls
echo                              .:/`                                     
echo                            .ossss.        .+o.                       
echo                           :sssssso      `/sss/       `:.             
echo                          -ssssssso     .ossss/     -+sso             
echo                         .ssssssss+    .ssssss-   .osssss-             
echo                         +ssssssss/   .sssssso   .sssssss-             
echo                        :sssssssss.  `ossssss:  :ssssssss`    ``       
echo                       `ssssssssso   /sssssso  .ssssssss+   -osss-     
echo                       /sssssssss-  .sssssss:  +ssssssss:  -ssssso     
echo                      `ssssssssso   +sssssso  -sssssssss` .sssssss.   
echo                      /sssssssss:  .sssssss-  ossssssss:  +sssssss`   
echo                     `ssssssssss`  osssssso  -sssssssso  .sssssss+     
echo        `---`        /sssssssss+  -sssssss-  ossssssss-  osssssss.     
echo       :ssssso:     `ssssssssss-  osssssso  -ssssssss+  :sssssss+     
echo       -ssssssso`   /sssssssss+  -sssssss-  ossssssss` `ssssssss.     
echo        /ssssssso.  +ssssssssso-:ossssss/  -ssssssss:  /sssssss+       
echo        `ossssssss:-+sssssssssssssssssss+..osssssss+  .ssssssss.       
echo         -sssssssssssssssssssssssssssssssssssssssss:  osssssss/       
echo         `ssssssssssssssssssssssssssssssssssssssssssosssssssss`       
echo          :ssssssssssssssssssssssssssssssssssssssssssssssssss/         
echo           /sssssssssssssssssoossssssssssssssssssssssssssssss`         
echo            /sssssssssssssss: `sssssssssssssssssssssssssssss/         
echo             +sssssssssssssssoss++osssssss+:+sssssssssssssso`         
echo             `+ssssssssssssssso`    `.-/os:`-ssssssssssssso`           
echo               /ssssssssssssss/  ohyo:  `sssssssssssssssss.           
echo                -ossssssssssss. `NNNh. `+ssssssssssssssss.             
echo                  -+ssssssssss-  sy:  -ossssssssssssssso.             
echo                    `:+ssssssss:`  `-+ssssssssssssssss:`               
echo                       `:+ssssssssssssssssssssssssss/`                 
echo                          `-/+ossssssssssssssssss+-                   
echo                               `.-:/+ossssso+/:.                         
ping localhost -n 1 -w 250 >nul
cls
echo                                 ./oso.                               
echo                               .+ssssso         `.`                   
echo                              -ssssssso       `/ss+                   
echo                             :ssssssss/     `/ssss+                   
echo                            :sssssssss.    :ssssss-     ./os/         
echo                           /sssssssss/   `+ssssss/    :osssso         
echo                          :ssssssssso`  `ossssss+   .osssssso         
echo                         :ssssssssss-  `osssssso` `/ssssssss-         
echo                        -ssssssssss-  `osssssss.  +ssssssss/    ``     
echo                       `osssssssss/  `osssssss-  +sssssssss`  .osss/   
echo        `:::-`        `osssssssss+   +sssssss:  /sssssssss-  -ssssss` 
echo       `osssss+`      +ssssssssss`  /sssssss/  :sssssssss:  :sssssss. 
echo        +sssssso`    /ssssssssss-  :sssssss+  -sssssssss/  -ssssssso   
echo        :ssssssso   -ssssssssss/  -ssssssso  .sssssssss/  -ssssssss.   
echo        `ssssssss/  /ssssssssso  .ssssssso` `ossssssss/  -ssssssss-   
echo         +sssssssso+sssssssssssoossssssso. `ossssssss/  -ssssssss:     
echo         ossssssssssssssssssssssssssssss-  +ssssssss+  .ssssssss+     
echo         /sssssssssssssssssssssssssssssssoossssssss/  .sssssssso`     
echo         .sssssssssssssssssssssssssssssssssssssssso  .sssssssso`       
echo          :ssssssssssssssssssssssssssssssssssssssss+/sssssssso`       
echo          `sssssssssssssss+..osssssssssssssssssssssssssssssss.         
echo           :sssssssssssssso::ossssssssssssssssssssssssssssss-         
echo            +sssssssssssssssso-`.:ossssssssssssssssssssssss:           
echo            `+sssssssssssssso`     `-+so``/sssssssssssssss:           
echo              /sssssssssssss:        `ss+/ossssssssssssss:             
echo               `/sssssssssss-     ` `ossssssssssssssssso.             
echo                 `/sssssssss/     `:osssssssssssssssss+`               
echo                   `:ossssssso///osssssssssssssssssss:                 
echo                      -+sssssssssssssssssssssssssss/`                 
echo                         .:+ssssssssssssssssssss+:`                   
echo                            `.:/ossssyysyyss+/-`                       
echo                                  .-----..`                         
ping localhost -n 1 -w 250 >nul                                           
cls                                                                       
echo                             `-:`                                     
echo                           `/osso.        `:/`                         
echo                          .ossssso       -oss+        .`               
echo                         .osssssso      /sssso     `:oso`             
echo                        `ossssssso    `+sssss/    :ossss:             
echo                        /ssssssss+    +ssssss`  `+ssssss/             
echo                       .sssssssss:   /ssssss+  .+sssssss-             
echo                       osssssssss`  -sssssss. `ossssssso`  `:+++.     
echo                      -sssssssss/  `ossssss+  :ssssssss+  `osssso`     
echo                      osssssssss.  :sssssss. `ossssssss-  /ssssss-     
echo                     -sssssssss+  `ossssss+  /sssssssso  -sssssss-     
echo                     osssssssss-  :sssssss. `sssssssss-  osssssss`     
echo         ``         -ssssssssso  `ossssss/  /ssssssss+  :sssssss/     
echo      ./+oo+:`      osssssssss:  /sssssss. `sssssssss` `osssssss.     
echo      /sssssso:    -ssssssssss. `sssssss+  :ssssssss:  /sssssss/       
echo      `osssssss/   +sssssssss+``:sssssso. `ossssssso` .ssssssss.       
echo       -ssssssss+``/ssssssssssoosssssss/  /ssssssss-  +sssssss+       
echo        /ssssssssoosssssssssssssssssssss++ssssssss/  -ssssssss.       
echo        `ssssssssssssssssssssssssssssssssssssssssso-:osssssss/         
echo         osssssssssssssssssssssssssssssssssssssssssssssssssso`         
echo         .osssssssssssssssssssssssssssssssssssssssssssssssss:         
echo          .osssssssssssssss+-:ssssssssssssssssssssssssssssso`         
echo           -sssssssssssssss+--osssssssssssossssssssssssssss:           
echo            :sssssssssssssssss/---:/+ooss/.-ssssssssssssss+           
echo             -ssssssssssssssso  `o+:...:oo:/ssssssssssssso`           
echo              -osssssssssssss+` `:+ss+  :ssssssssssssssso`             
echo               `/osssssssssssso/-.`````-osssssssssssssso`             
echo                 `-+ssssssssssssssssoossssssssssssssss+`               
echo                    `:+sssssssssssssssssssssssssssss+-                 
echo                       `:+osssssssssssssssssssssss+-                   
echo                          `.-/+osssssssssssssss+:`                     
echo                                `.-://++++/:-.`                       
ping localhost -n 1 -w 250 >nul
cls
echo                                    :s+`       .+o-                   
echo                     `/so/`        :ssso      :ssss:                   
echo                    .osssss.      -sssss.    /ssssss.                 
echo                    osssssso     `osssss:   .sssssss:    `-::.         
echo                   -ssssssss-    :ssssss/   +sssssss+   .sssss:       
echo                   /ssssssss+    ossssss/  :sssssssss   /ssssss:       
echo                   +sssssssso   `sssssss/  /sssssssss`  osssssso       
echo                   osssssssss.  .sssssss/  /sssssssss.  ssssssss.     
echo                   ssssssssss.  -sssssss/  /sssssssss.  osssssss-     
echo                  `ssssssssss.  -sssssss/  /sssssssss`  ssssssss-     
echo                  `ssssssssss-  .sssssss/  /sssssssss  `ssssssss-     
echo                  `ssssssssss:  .sssssss/  /sssssssss  .ssssssss-     
echo                   ssssssssss:  .sssssss+  :sssssssso  .ssssssss-     
echo                   ssssssssss/  .sssssss+  :sssssssso  -ssssssss-     
echo                   ssssssssss+  .sssssss+  :ssssssss+  :ssssssss-     
echo                   ssssssssss+  `sssssss/  :ssssssss:  :ssssssss-     
echo      -/++/:.      ossssssssso--+ssssssso/:osssssssss//ossssssss-     
echo     +ssssssso-    ossssssssssssssssssssssssssssssssssssssssssss-     
echo     -ssssssssso-  `ssssssssssssssssssssssssssssssssssssssssssss-     
echo      .ossssssssso/+ssssssssssssssssssssssssssssssssssssssssssss-     
echo        :sssssssssssssssssssssssssssssssssssssssssssssssssssssss`     
echo         -sssssssssssssssssssssssssssssssssssssssssssssssssssss+       
echo          /ssssssssssssssssssss:.:ssssssssssss:`-ssssssssssssss-       
echo           :sssssssssssssssssss/-/so++/////+ss+-/ssssssssssssss       
echo            `/ssssssssssssssssssss-          /ssssssssssssssss:       
echo              .osssssssssssssssssso`        `+sssssssssssssss/         
echo                :sssssssssssssssssss/:-...:+ssssssssssssssss/         
echo                 `/ssssssssssssssssssssssssssssssssssssssss-           
echo                   `:osssssssssssssssssssssssssssssssssss/`           
echo                      .:/osssssssssssssssssssssssssssso/`             
echo                           `-:+osssssssssssssssssso/-`                 
echo                                 `.--::::::::::-.`                     
ping localhost -n 1 -w 250 >nul
cls
goto A

you can try it, My question here how we can interrupt we it if press any key then go to a specific point or menu?

Re: Animated screen in Batch

Posted: 31 May 2021 09:42
by T3RRY
To achieve an animation that continues cycling through frames while waiting for input, you need to use a form of input that is non-blocking. Search this forum for Dave Benhams Snake.bat for a native approach, or, alternatively for Aacini's GetKey.exe

Re: Animated screen in Batch

Posted: 31 May 2021 20:37
by Emo
T3RRY wrote:
31 May 2021 09:42
To achieve an animation that continues cycling through frames while waiting for input, you need to use a form of input that is non-blocking. Search this forum for Dave Benhams Snake.bat for a native approach, or, alternatively for Aacini's GetKey.exe
Sorry for my misunderstanding i understand the first part of your words "need to use a form of input that is non-blocking. " but I'm still beginner and i don't know what is Dave Benhams snake.bat forum Or what is this "Aacini's Getkey.exe" how this help me
, so can you help me

Re: Animated screen in Batch

Posted: 31 May 2021 21:34
by T3RRY
Emo wrote:
31 May 2021 20:37
Sorry for my misunderstanding i understand the first part of your words "need to use a form of input that is non-blocking. " but I'm still beginner and i don't know what is Dave Benhams snake.bat forum Or what is this "Aacini's Getkey.exe" how this help me
, so can you help me
A somple search of this forum will for the above mentioned programs would have found the following two topics:
Snake.bat 4.1 viewtopic.php?t=4741
Getkey.exe viewtopic.php?t=3428

See also: https://stackoverflow.com/questions/436 ... 1#43682331

"Non blocking input" is a term that describes the use of a command structure or program that can read input without blocking or halting the execution of the program.

Re: Animated screen in Batch

Posted: 01 Jun 2021 10:44
by Hackoo
Hi ;)
I think you should add a counter and increment it and stop the loop when you want !
Here is an example how to use a counter inside your animation loop

Code: Select all

@echo off & color 0A & Mode 85,39
Title Animation
set /a cnt=0
:Anim
cls
echo(                                                                      
echo                                `sss+-      `:/:`                     
echo                       `.       :sssss+`   .sssss+.                   
echo                       oss/`    /ssssss+`  .sssssss/                   
echo                       sssso.   -ssssssso.  :sssssss+                 
echo                       +sssss.  `sssssssss.  +sssssss+                 
echo           `+o+:.      /ssssss.  +sssssssss. `osssssss/               
echo           :sssss+.    `sssssss. `osssssssso` `osssssss/               
echo           /sssssss:    /sssssso. `osssssssso  .ssssssss/             
echo           -ssssssss+`  `osssssso` `ossssssss/  :ssssssss:             
echo            +sssssssso.  .ssssssso` .sssssssss:  /ssssssss-           
echo            `osssssssss.  -sssssss+` .sssssssss-  +ssssssss.           
echo             -ssssssssso`  -sssssss+  .sssssssss`  ossssssss.         
echo              /ssssssssso`  :sssssss+  -ssssssss+-.+sssssssso`         
echo               +ssssssssso.  /sssssss+  -sssssssssssssssssssso`       
echo                +ssssssssso.  /sssssss:  +ssssssssssssssssssss:       
echo                `ossssssssss.  /sssssssssssssssssssssssssssssss`       
echo                 `ossssssssss.  ossssssssssssssssssssssssssssss/       
echo                  `ossssssssss+ossssssssssssssssssssssssssssssss`     
echo                   `osssssssssssssssssssssssssssso+sssssssssssss.     
echo                    `osssssssssssssssssssssssssss` :ssssssssssss.     
echo             ```     `+ssssssssssssssssssssssssossssssssssssssss       
echo          .+ssssso/:.` /ssssssssssss+/ossso+:.` `ssssssssssssss/       
echo         .ssssssssssssssssssssssssss``:so.   .:/ossssssssssssss.       
echo          :osssssssssssssssssssssssssssss/:+ssssssssssssssssss-       
echo            `:+sssssssssssssssssssssssssssssssssssssssssssss+`         
echo               `-+sssssssssssssssssssssssssssssssssssssssso-           
echo                  -/sssssssssssssssssssssssssssssssssssso:             
echo                     .:/ossssssssssssssssssssssssssso/-`               
echo                         .:/ossssssssssssssssss+/-.`                   
echo                             `.-:////:::---.``                         
ping localhost -n 1 -w 250 >nul
cls
echo(                                                                      
echo                                        :.                             
echo                             `-`       +ss+.                           
echo                             oso-     /sssss-     .-:`                 
echo                  `         -ssss-   `sssssso`   /ssss/`               
echo                .os+:`      /sssso`  `sssssss/   ossssso.             
echo                osssso-     +sssss/  .ssssssss-  /sssssso`             
echo               .sssssss-    +ssssss` .sssssssso  -sssssss:             
echo               .ssssssss.   /ssssss:  +ssssssss:  osssssso`           
echo               `sssssssso`  -sssssss` -sssssssso  :sssssss:           
echo                ossssssss/  `sssssss:  ossssssss. `ssssssso`           
echo                :sssssssss`  /sssssso  -ssssssss/  +sssssss:           
echo                `sssssssss/  .sssssss-  ossssssso  -ssssssso           
echo                 +sssssssss`  +sssssso  :ssssssss-  osssssss.         
echo                 .sssssssss+  .sssssss- `osssssss+  /sssssss+         
echo                  +sssssssss.  +sssssso  :ssssssso.`:ssssssss.         
echo                  -sssssssss+  -sssssss` `sssssssssosssssssss/         
echo                   +sssssssss:  +sssssso/+ssssssssssssssssssss`       
echo                   -ssssssssso-:osssssssssssssssssssssssssssss-       
echo                    osssssssssssssssssssssssssssssssssssssssss:       
echo         `-:::-`    -sssssssssssssssssssssssssssssssssssssssss/       
echo        :sssssss+:.` .ssssssssssssssssssssssssssoossssssssssss+       
echo        :osssssssss+/+sssssssssssssssssssssssss:`.ssssssssssss+       
echo         ./ossssssssssssssssssssss//ssssssooo+oo+ossssssssssss-       
echo           .:ossssssssssssssssssso..os/-..`   `/ssssssssssssso         
echo             `/sssssssssssssssssssssso`       .osssssssssssss.         
echo               :osssssssssssssssssssss+:-.`.:+ssssssssssssss-         
echo                 -+osssssssssssssssssssssssssssssssssssssso.           
echo                   `:ossssssssssssssssssssssssssssssssss+-             
echo                      ./osssssssssssssssssssssssssssso/.               
echo                         .:+ossssssssssssssssssso+/:-                 
echo                             `...--:://///:--..`                       
ping localhost -n 1 -w 250 >nul
cls
echo(                                                                      
echo                                   `-`        `.                       
echo                      .:.         .oso`      :os/                     
echo                     /sss+`      `osss+    `+ssss+                     
echo                    +ssssso`     +sssso    +ssssss.      `             
echo                   -sssssss:    .ssssss`  .sssssss:   .+oso.           
echo                   /ssssssso    /ssssss` `+sssssss/   osssss-         
echo                   +ssssssss`   ossssss. `sssssssso  .sssssso         
echo                   ossssssss-  `sssssss. `sssssssss  -sssssss.         
echo                  `sssssssss:  .sssssss. `sssssssss  -sssssss-         
echo                  `sssssssss:  .sssssss. `sssssssso  -sssssss-         
echo                  .sssssssss:  .sssssss. `ssssssss+  :sssssss-         
echo                  .sssssssss/  .sssssss. `ssssssss+  /sssssss:         
echo                  `sssssssss+  .sssssss. `ssssssss/  /sssssss:         
echo                  `ssssssssso  .sssssss- `ssssssss/  +sssssss:         
echo                  `ssssssssss  .sssssss- `ssssssss:  osssssss-         
echo                  `ssssssssss  `sssssss. `ssssssss-  osssssss-         
echo      ./+++/:.    `ssssssssss/:+sssssss+/+sssssssso++ssssssss-         
echo      osssssso/.   +sssssssssssssssssssssssssssssssssssssssss-         
echo      -ossssssss/.`-sssssssssssssssssssssssssssssssssssssssss-         
echo       .+sssssssssoosssssssssssssssssssssssssssssssssssssssss-         
echo        `/sssssssssssssssssssssssssssssssssssssssssssssssssso`         
echo          :ssssssssssssssssssso+ossssssssssso+osssssssssssss+         
echo          `/ssssssssssssssssss-`-ssssoooosss/`.ossssssssssss-         
echo            -osssssssssssssssssoo+-.......-+soosssssssssssso           
echo             `:ssssssssssssssssss/   /++.  .sssssssssssssss-           
echo               .+sssssssssssssssss.  /oo-  /ssssssssssssss-           
echo                 -ossssssssssssssss:`` ``-+ssssssssssssso.             
echo                  `:ossssssssssssssssooosssssssssssssss/`             
echo                     .:+ossssssssssssssssssssssssssso/.               
echo                         `-:/osssssssssssssssssss+:.                   
echo                              ``.-:://///////:-.`                     
ping localhost -n 1 -w 250 >nul
cls
echo(                                                                      
echo                              .:/`                                     
echo                            .ossss.        .+o.                       
echo                           :sssssso      `/sss/       `:.             
echo                          -ssssssso     .ossss/     -+sso             
echo                         .ssssssss+    .ssssss-   .osssss-             
echo                         +ssssssss/   .sssssso   .sssssss-             
echo                        :sssssssss.  `ossssss:  :ssssssss`    ``       
echo                       `ssssssssso   /sssssso  .ssssssss+   -osss-     
echo                       /sssssssss-  .sssssss:  +ssssssss:  -ssssso     
echo                      `ssssssssso   +sssssso  -sssssssss` .sssssss.   
echo                      /sssssssss:  .sssssss-  ossssssss:  +sssssss`   
echo                     `ssssssssss`  osssssso  -sssssssso  .sssssss+     
echo        `---`        /sssssssss+  -sssssss-  ossssssss-  osssssss.     
echo       :ssssso:     `ssssssssss-  osssssso  -ssssssss+  :sssssss+     
echo       -ssssssso`   /sssssssss+  -sssssss-  ossssssss` `ssssssss.     
echo        /ssssssso.  +ssssssssso-:ossssss/  -ssssssss:  /sssssss+       
echo        `ossssssss:-+sssssssssssssssssss+..osssssss+  .ssssssss.       
echo         -sssssssssssssssssssssssssssssssssssssssss:  osssssss/       
echo         `ssssssssssssssssssssssssssssssssssssssssssosssssssss`       
echo          :ssssssssssssssssssssssssssssssssssssssssssssssssss/         
echo           /sssssssssssssssssoossssssssssssssssssssssssssssss`         
echo            /sssssssssssssss: `sssssssssssssssssssssssssssss/         
echo             +sssssssssssssssoss++osssssss+:+sssssssssssssso`         
echo             `+ssssssssssssssso`    `.-/os:`-ssssssssssssso`           
echo               /ssssssssssssss/  ohyo:  `sssssssssssssssss.           
echo                -ossssssssssss. `NNNh. `+ssssssssssssssss.             
echo                  -+ssssssssss-  sy:  -ossssssssssssssso.             
echo                    `:+ssssssss:`  `-+ssssssssssssssss:`               
echo                       `:+ssssssssssssssssssssssssss/`                 
echo                          `-/+ossssssssssssssssss+-                   
echo                               `.-:/+ossssso+/:.                         
ping localhost -n 1 -w 250 >nul
cls
echo                                 ./oso.                               
echo                               .+ssssso         `.`                   
echo                              -ssssssso       `/ss+                   
echo                             :ssssssss/     `/ssss+                   
echo                            :sssssssss.    :ssssss-     ./os/         
echo                           /sssssssss/   `+ssssss/    :osssso         
echo                          :ssssssssso`  `ossssss+   .osssssso         
echo                         :ssssssssss-  `osssssso` `/ssssssss-         
echo                        -ssssssssss-  `osssssss.  +ssssssss/    ``     
echo                       `osssssssss/  `osssssss-  +sssssssss`  .osss/   
echo        `:::-`        `osssssssss+   +sssssss:  /sssssssss-  -ssssss` 
echo       `osssss+`      +ssssssssss`  /sssssss/  :sssssssss:  :sssssss. 
echo        +sssssso`    /ssssssssss-  :sssssss+  -sssssssss/  -ssssssso   
echo        :ssssssso   -ssssssssss/  -ssssssso  .sssssssss/  -ssssssss.   
echo        `ssssssss/  /ssssssssso  .ssssssso` `ossssssss/  -ssssssss-   
echo         +sssssssso+sssssssssssoossssssso. `ossssssss/  -ssssssss:     
echo         ossssssssssssssssssssssssssssss-  +ssssssss+  .ssssssss+     
echo         /sssssssssssssssssssssssssssssssoossssssss/  .sssssssso`     
echo         .sssssssssssssssssssssssssssssssssssssssso  .sssssssso`       
echo          :ssssssssssssssssssssssssssssssssssssssss+/sssssssso`       
echo          `sssssssssssssss+..osssssssssssssssssssssssssssssss.         
echo           :sssssssssssssso::ossssssssssssssssssssssssssssss-         
echo            +sssssssssssssssso-`.:ossssssssssssssssssssssss:           
echo            `+sssssssssssssso`     `-+so``/sssssssssssssss:           
echo              /sssssssssssss:        `ss+/ossssssssssssss:             
echo               `/sssssssssss-     ` `ossssssssssssssssso.             
echo                 `/sssssssss/     `:osssssssssssssssss+`               
echo                   `:ossssssso///osssssssssssssssssss:                 
echo                      -+sssssssssssssssssssssssssss/`                 
echo                         .:+ssssssssssssssssssss+:`                   
echo                            `.:/ossssyysyyss+/-`                       
echo                                  .-----..`                         
ping localhost -n 1 -w 250 >nul                                           
cls            
echo(                                                                      
echo                             `-:`                                     
echo                           `/osso.        `:/`                         
echo                          .ossssso       -oss+        .`               
echo                         .osssssso      /sssso     `:oso`             
echo                        `ossssssso    `+sssss/    :ossss:             
echo                        /ssssssss+    +ssssss`  `+ssssss/             
echo                       .sssssssss:   /ssssss+  .+sssssss-             
echo                       osssssssss`  -sssssss. `ossssssso`  `:+++.     
echo                      -sssssssss/  `ossssss+  :ssssssss+  `osssso`     
echo                      osssssssss.  :sssssss. `ossssssss-  /ssssss-     
echo                     -sssssssss+  `ossssss+  /sssssssso  -sssssss-     
echo                     osssssssss-  :sssssss. `sssssssss-  osssssss`     
echo         ``         -ssssssssso  `ossssss/  /ssssssss+  :sssssss/     
echo      ./+oo+:`      osssssssss:  /sssssss. `sssssssss` `osssssss.     
echo      /sssssso:    -ssssssssss. `sssssss+  :ssssssss:  /sssssss/       
echo      `osssssss/   +sssssssss+``:sssssso. `ossssssso` .ssssssss.       
echo       -ssssssss+``/ssssssssssoosssssss/  /ssssssss-  +sssssss+       
echo        /ssssssssoosssssssssssssssssssss++ssssssss/  -ssssssss.       
echo        `ssssssssssssssssssssssssssssssssssssssssso-:osssssss/         
echo         osssssssssssssssssssssssssssssssssssssssssssssssssso`         
echo         .osssssssssssssssssssssssssssssssssssssssssssssssss:         
echo          .osssssssssssssss+-:ssssssssssssssssssssssssssssso`         
echo           -sssssssssssssss+--osssssssssssossssssssssssssss:           
echo            :sssssssssssssssss/---:/+ooss/.-ssssssssssssss+           
echo             -ssssssssssssssso  `o+:...:oo:/ssssssssssssso`           
echo              -osssssssssssss+` `:+ss+  :ssssssssssssssso`             
echo               `/osssssssssssso/-.`````-osssssssssssssso`             
echo                 `-+ssssssssssssssssoossssssssssssssss+`               
echo                    `:+sssssssssssssssssssssssssssss+-                 
echo                       `:+osssssssssssssssssssssss+-                   
echo                          `.-/+osssssssssssssss+:`                     
echo                                `.-://++++/:-.`                       
ping localhost -n 1 -w 250 >nul
cls
echo(
echo                                    :s+`       .+o-                   
echo                     `/so/`        :ssso      :ssss:                   
echo                    .osssss.      -sssss.    /ssssss.                 
echo                    osssssso     `osssss:   .sssssss:    `-::.         
echo                   -ssssssss-    :ssssss/   +sssssss+   .sssss:       
echo                   /ssssssss+    ossssss/  :sssssssss   /ssssss:       
echo                   +sssssssso   `sssssss/  /sssssssss`  osssssso       
echo                   osssssssss.  .sssssss/  /sssssssss.  ssssssss.     
echo                   ssssssssss.  -sssssss/  /sssssssss.  osssssss-     
echo                  `ssssssssss.  -sssssss/  /sssssssss`  ssssssss-     
echo                  `ssssssssss-  .sssssss/  /sssssssss  `ssssssss-     
echo                  `ssssssssss:  .sssssss/  /sssssssss  .ssssssss-     
echo                   ssssssssss:  .sssssss+  :sssssssso  .ssssssss-     
echo                   ssssssssss/  .sssssss+  :sssssssso  -ssssssss-     
echo                   ssssssssss+  .sssssss+  :ssssssss+  :ssssssss-     
echo                   ssssssssss+  `sssssss/  :ssssssss:  :ssssssss-     
echo      -/++/:.      ossssssssso--+ssssssso/:osssssssss//ossssssss-     
echo     +ssssssso-    ossssssssssssssssssssssssssssssssssssssssssss-     
echo     -ssssssssso-  `ssssssssssssssssssssssssssssssssssssssssssss-     
echo      .ossssssssso/+ssssssssssssssssssssssssssssssssssssssssssss-     
echo        :sssssssssssssssssssssssssssssssssssssssssssssssssssssss`     
echo         -sssssssssssssssssssssssssssssssssssssssssssssssssssss+       
echo          /ssssssssssssssssssss:.:ssssssssssss:`-ssssssssssssss-       
echo           :sssssssssssssssssss/-/so++/////+ss+-/ssssssssssssss       
echo            `/ssssssssssssssssssss-          /ssssssssssssssss:       
echo              .osssssssssssssssssso`        `+sssssssssssssss/         
echo                :sssssssssssssssssss/:-...:+ssssssssssssssss/         
echo                 `/ssssssssssssssssssssssssssssssssssssssss-           
echo                   `:osssssssssssssssssssssssssssssssssss/`           
echo                      .:/osssssssssssssssssssssssssssso/`             
echo                           `-:+osssssssssssssssssso/-`                 
echo                                 `.--::::::::::-.`                     
ping localhost -n 1 -w 250 >nul
cls
set /a cnt+=1
If %cnt% EQU 5 Call :Hello
goto Anim
:Hello
cls
:::
:::                     __   __  _______  ___      ___      _______
:::                    |  | |  ||       ||   |    |   |    |       |
:::                    |  |_|  ||    ___||   |    |   |    |   _   |
:::                    |       ||   |___ |   |    |   |    |  | |  |
:::                    |       ||    ___||   |___ |   |___ |  |_|  |
:::                    |   _   ||   |___ |       ||       ||       |
:::                    |__| |__||_______||_______||_______||_______|
:::
:::                             _ _,---._
:::                          ,-','       `-.___
:::                         /-;'               `._
:::                        /\/          ._   _,'o \
:::                       ( /\       _,--'\,','"`. )
:::                        |\      ,'o     \'    //\
:::                        |      \        /   ,--'""`-.
:::                        :       \_    _/ ,-'         `-._
:::                         \        `--'  /                )
:::                          `.  \`._    ,'     ________,','
:::                            .--`     ,'  ,--` __\___,;'
:::                             \`.,-- ,' ,`_)--'  /`.,'
:::                              \( ;  | | )      (`-/
:::                                `--'| |)       |-/
:::                                  | | |        | |
:::                                  | | |,.,-.   | |_
:::                                  | `./ /   )---`  )
:::                                 _|  /    ,',   ,-'
:::                                ,'|_(    /-<._,' |--,
:::                                |    `--'---.     \/ \
:::                                |          / \    /\  \
:::                              ,-^---._     |  \  /  \  \
:::                           ,-'        \----'   \/    \--`.
:::                          /            \              \   \
:::

for /f "delims=: tokens=*" %%A in ('findstr /b ::: "%~f0"') do @echo(%%A
pause>nul & Exit