on-internet
← Community

Printing Contents of a Temporary Variable In FOR /F Loop As Raw Text

Stack Overflow ·

I'm working with batch for loops currently, and I ran into my first issue while trying to make a guidebook for my game. Knowing batch, the solution for this will either be extremely simple, or unnecessarily complex. I made the ASCII art for each page of the guide, and then a simple script prints it and allows me to move easily through each page. The script didn't break, but it just failed to show all the text. I used characters like @, !, =, and %. To print the text on the screen, I used a simple echo %%a. Very clearly, because of early expansion, this creates a massive issue of characters lik

Comments

Sign in or sign up to comment and upvote.

No comments yet.