Page 1 of 1

DosTips Progress.bat possible code typo

Posted: 03 Dec 2013 00:22
by julesverne
Was going through and testing out some of the bat files and functions in dostips. One of particular interest to me was the Progress.bat as shown here: http://www.dostips.com/DtCodeBatchFiles.php#Batch.Progress

While testing it out I *think* I came across a typo in the code.

Line 3 of the code:

Code: Select all

call :initProgress %max% "Window Title: [PPP]"


I couldn't get it to work unless I changed it to

Code: Select all

call :initProgress %max% "Window Title: [PPPP]"


Again, I'm newish so I'm probably wrong, but if I am, what did I do wrong?