title: color single lines of ASCII characters with batch CMD
body: <p>I was recently overwhelmed with quick responses for a question I had the other day! hopefully this will be a quick one for those in the know, I've searched and played for hours and just not getting it.</p>
  
  <p>I have found code to modify color per character in batch CMD although cant make it work for ASCII characters.</p>
  
  <p>This shows hows output window with errors:<br>
  <a href="https://i.stack.imgur.com/Ifqt4.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ifqt4.jpg" alt="screenshot"></a></p>
  
  <p>Here's the code I've tried to modify to suit, it explains exactly whats happening and what im attempting:</p>
  
  <pre><code>@echo off
  SETLOCAL EnableDelayedExpansion
  for /F "tokens=1,2 delims=#" %%a in ('"prompt #$H#$E# &amp; echo on &amp; for %%b in (1) do rem"') do (
  set "DEL=%%a"
  )
  
  call :colorEcho 0a "This works!!"
  echo.
  call :colorEcho 0C "But ASCII characters don't"
  echo.
  echo expect this in set color 
  echo.
  echo ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
  echo º                             º
  echo º                             º
  echo ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ¼
  echo.    
  echo but get this instead?
  echo.
  call :colorEcho 0a "ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»"
  echo.
  call :colorEcho 0a "º                             º"
  echo.
  call :colorEcho 0a "º                             º"
  echo.
  call :colorEcho 0a "ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ¼"
  pause
  exit
  
  :colorEcho
  echo off
  &lt;nul set /p ".=%DEL%" &gt; "%~2"
  findstr /v /a:%1 /R "^$" "%~2" nul
  del "%~2" &gt; nul 2&gt;&amp;1i
  </code></pre>