View Single Post
  #1  
Old 11-05-2021, 09:25
Newbie-repacker Newbie-repacker is offline
Banned
 
Join Date: Apr 2021
Location: In My Home Sweet Home
Posts: 27
Thanks: 57
Thanked 0 Times in 0 Posts
Newbie-repacker is on a distinguished road
Question Code for Making Circular progress bar(or loading bar) in cmd(Batch or .bat)

Like this is an example of rectangular box

Code:
 @echo off
    color 0A
    
    
    setlocal EnableDelayedExpansion
    set Counter=10
    set Schalter=100
    set Width=100
    
    :1
    set /a Counter=%Counter% + 1
    set /a Display=%Counter% / 2
    FOR /L %%A IN (1,1,%Display%) DO (
       set Display=!Display!█
    )
    cls
    echo     Loading...                  		%Counter%%%
    echo     █!Display:~2,47!
    ping localhost -n 1 >nul
    if "%Counter%" == "93" endlocal & goto End
    goto 1
    
    :End
    cls
And if such is this possible in batch to make circular progress bars??
How to make such with circular progress bar......????

Last edited by Joe Forster/STA; 12-05-2021 at 01:15. Reason: fixed rectangular box character in code
Reply With Quote
Sponsored Links