Solved How i can get progress bar in a Batch File

Asustek computer inc. / ASUS
April 7, 2018 at 04:59:37
Specs: Windows 8.1 with Bing, CPU Specs: Intel Celeron N2840 | RAM Specs using CPU-Z, Type: DDR3 Size: 4GB
How can i make a progress bar using Batch file (.bat)? Please i need it for an app! I will wait for help

See More: How i can get progress bar in a Batch File

Report •

April 7, 2018 at 13:30:16
✔ Best Answer
@echo off
for /l %%a in (1,1,100) do cls&echo Loading...%%a %% done&timeout 1 /nobreak >nul

what is this for?
post your .bat file

i5-6600K[delid]@4.8GHz/4.5GHz@1.385v | 2x4GB Crucial-DDR4-2133@15-15-15-35 1T 2800MHz@1.37v
ASUS Z170K | Samsung 250GB SSD 850 EVO
MSI Armor RX 570 4GB@1411@1.25v/1930 BiosMod

Report •

April 7, 2018 at 20:29:43
You should tell us what's the purpose of this progress bar ? and post what did you tried until now as code !
a pseudocode :

@echo off
title Example of a Progress bar
mode con cols=100 lines=9 &color 0A
set Msg=Loading
set /a FULL+=1
set BAR=%BAR%#
set /a NB_BAR+=1
echo. &echo.
echo %BAR%
echo                                         %Msg% .... %NB_BAR%%%
echo %BAR%
if %FULL%==100 goto :END_BAR
@ping localhost -n 1 >nul
goto :Update_BAR
Timeout /T 1 /nobreak>nul

Report •

April 8, 2018 at 05:19:54
I just wanted a progress bar because i was making an MS-DOS Setup Simulator...

Report •
Related Solutions

Ask Question