I want to add x times "# " to a string.
This is my attempt:
set line=
for /L %%a in (1,1,%amount%) do (
set "line=%line%# "
)
In other programming languages, for example python, it'd look like this:
line = ""
for i in range(amount):
line += "# "
But, I have no clue how this would work in batch... I'd be very happy if somebody could help me, thanks :)