Quote:
Originally Posted by Newbie-repacker
Like this is an example of rectangular box
And if such is this possible in batch to make circular progress bars??
How to make such with circular progress bar......????
|
Sorry, that rectangular box doesn't appear correctly in my browser. What do you mean by a "circular progress bar"? Here's a modified version with a rotating hyphen:
Code:
@echo off
color 0A
setlocal EnableDelayedExpansion
set Counter=10
set Schalter=100
set Width=100
set "RotateChars=-\|/"
:1
set /a Counter=%Counter% + 1
set /a Display=%Counter% / 2
set /a RotateIndex=%Counter% %% 4
set "RotateChar=!RotateChars:~%RotateIndex%,1!"
FOR /L %%A IN (1,1,%Display%) DO (
set Display=!Display!█
)
cls
echo Loading... %Counter%%% ^%RotateChar%
echo █!Display:~2,47!
ping localhost -n 1 >nul
if "%Counter%" == "93" endlocal & goto End
goto 1
:End
cls
__________________
Joe Forster/STA
For more information, see the
FileForums forum rules and the
PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage:
http://sta.c64.org, E-mail:
[email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!