I’m trying to make a for statement that have to echo a string that contains only two character.
The type of string would by like “aaabbb”.
My problem is that the echo command make a new line each time I call it, so if I write something like:
FOR %%i IN (<condition>) DO ECHO a
FOR %%i IN (<condition>) DO ECHO b
The result would be something like:
a
a
a
b
b
b
What I thought was “Maybe echoing a unique string?”
So I wondering if that a method to append a character/variable in another variable.
Thank you for your support,
Waiting for a response,
Dave.
SOLUTION:
The real project was a bar.
I give the percentage of the done level as a parameter to a label and it make for me a full loading bar!
The first parameter is the how-big-the-bar-have-to-be info.
The others variables are:
corUL = the left-up corner character
corUR = the right-up corner character
corDL = the left-down corner character
corDR = the right-down corner character
linHo = the horizontal line character
linVe = the vertical line character
barDo = the character that indicate the done-part of the bar
barSp = the character that indicate the empty-part of the bar