AceInfinity
Emeritus, Contributor
Here's an example I put together for the "." "..", "..." animation inside of the cmd prompt from a batch script.
What is cool about this, is, you can actually change the text before the "..." animation if you wanted, because this variable is used as param %1 in the called function.
Take a look at my script. Run it. And you'll see what i'm talking about.
Enjoy
:beerchug2:
What is cool about this, is, you can actually change the text before the "..." animation if you wanted, because this variable is used as param %1 in the called function.
Take a look at my script. Run it. And you'll see what i'm talking about.
Code:
::---------------------------------
::WaitDisplay
::Created by AceInfinity - 2012©
::---------------------------------
@ECHO OFF
SETLOCAL ENABLEDELAYEDEXPANSION
set /a numtimes=3
FOR /l %%G in (1,1,%numtimes%) DO (
CALL :WaitDisplay "Please Wait"
)
SETLOCAL DISABLEDELAYEDEXPANSION
CLS
ECHO Done! Press any key to finish...
pause > NUL && GOTO :EOF
:WaitDisplay
SET string=%1
SET string=%string:"=%
SET dots=...
FOR /l %%G in (1,1,3) DO (
CLS
ECHO !string!!dots:~0,%%G!
PING localhost -n 2 -w 500 -l 5000 > NUL
)
Enjoy
:beerchug2: