View Single Post
  #2  
Old 11-05-2021, 12:17
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,836
Thanks: 20
Thanked 342 Times in 224 Posts
Joe Forster/STA is on a distinguished road
Quote:
Originally Posted by Newbie-repacker View Post
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!

Last edited by Joe Forster/STA; 12-05-2021 at 01:14.
Reply With Quote