![]() |
|
Simple Progress Bar in Batch. - Printable Version +- Sinisterly (https://sinister.li) +-- Forum: Coding (https://sinister.li/Forum-Coding) +--- Forum: Coding (https://sinister.li/Forum-Coding--71) +--- Thread: Simple Progress Bar in Batch. (/Thread-Simple-Progress-Bar-in-Batch) |
Simple Progress Bar in Batch. - Reverence - 06-23-2011 Here is the code. Code: @echo off
echo.
echo.
set i=1
echo COPYING
echo.
:start
call :I %i%
ping -n 1 127.0.0.1 > NUL
set /a i = i + 1
if /i %i% leq 100 goto start
echo.
echo.
echo COPYING SUCCESSFUL COMPLETED
echo.
PAUSE>NUL
:I
(Set /P j=.) < NUL
title %1%% Completed
exit /bEnjoy. |