::+==========================+
::| Build the meter image using vertical bars |
::| followed by trailing spaces |
::| Note there is a trailing space at the end |
::| of the second line below |
::+==========================+

@FOR /L %%a IN (%NumBars%,-1,1) DO (SET Meter=!Meter!I)

@FOR /L %%a IN (%NumSpaces%,-1,1) DO (SET Meter=!Meter!)

::+==========================+
::| Display the progress meter in the title bar |
::| and return to the main program |
::+==========================+

I used the first solution, in the second solution its indicated that the delay can be fine tuned, however the ping delay must be integer and one ping attempt takes a couple of secs.
(The delay I use is: ping -n 1 localhost)