title: CMD Rainbow art
body: <p>I want to make a batch file which outputs art in rainbow style.</p>
  
  <p>I used this code as a base: <a href="https://gist.github.com/ChanSec/10519942" rel="nofollow">https://gist.github.com/ChanSec/10519942</a></p>
  
  <p>I read somewhere that I can output art by insterting a .txt file (but I don't want more files), so I came to this:</p>
  
  <pre><code>:::Something
  :::art stuff
  :::More
  for /f "delims=: tokens=*" %%A in ('findstr /b ::: "%~f0"') do @echo(%%A
  </code></pre>
  
  <p>This is my code:<a href="http://pastebin.com/ZHw2QAXM" rel="nofollow">http://pastebin.com/ZHw2QAXM</a></p>
  
  <p>Every time I launch it, it spams the whole screen and only shows the color in red (only the art RED should be in color red, the HELLO art should switch colors)</p>
  
  <p>How can I make it stop spamming (the art should be visible only once and switch colors) and fix the colors? Besides that, is there an easy way to change the 2 in this line: <code>ping -n 2 127.0.0.1 &gt; nul</code>
  with an integer that I can change so I don't have to change it on every single line? I'm not familiar with batch coding.</p>