Setlocal enableextensions enabledelayedexpansion : drawProgressBar value if "%~1" = "" goto : eof Setlocal enableextensions disabledelayedexpansionĬall : drawProgressBar %% f "up test with a long text that will not fit on screen unless you have a lot of space" ) for / l %% f in ( 100 - 1 0 ) do (Ĭall : drawProgressBar %% f "going down test" ) for / l %% f in ( 0 5 100 ) do (Ĭall : drawProgressBar ! random ! "random test" )Ĭall : drawProgressBar 0 "this is a custom progress bar" for / l %% f in ( 0 1 100 ) do ( ![]() The rest in this answer is only a lot of code to make it look better, but of course, not necessary. Just adapted from an old answer (that had still more unneeded code!!).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |