::---------------------------------
::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
)