Rainbow Matrix CMD
<p>I want to run the Matrix.bat CMD with a different color on each line to make a rainbow effect.
Here is the Matrix.bat</p>

<pre><code>@echo off 
color ##
:start 
echo %random%%random%%random%%random%%random%%random%%random%%random%%random% 
goto :start
</code></pre>

<p>I have tried experimenting myself but have not succeeded with my low level experience. Here is where I got with my experimentation.</p>

<pre><code>@echo off 
:start
color 01 
echo %random%%random%%random%%random%%random%%random%%random%%random%%random%
color 02
echo %random%%random%%random%%random%%random%%random%%random%%random%%random%
color 04
echo %random%%random%%random%%random%%random%%random%%random%%random%%random%
color 05 
echo %random%%random%%random%%random%%random%%random%%random%%random%%random%
color 06
echo %random%%random%%random%%random%%random%%random%%random%%random%%random%
goto :start
</code></pre>

<p>When I tried this it changed the whole command prompts color instead of the individual lines of %random%. Hopefully someone more experienced can give me some pointers on how to do this.</p>