loading
I'm going to show you a step by step way to make an infinite random number stream.  This is the final product:

Step 1: Step One

First you have to open up a notepad file. (has to be empty) then type in @echo off
then you have to select your colors by typing 'color' then take the number and letter from this table and put it next to it:
0= black      a= green
1= blue        b= apua
2= green     c= red
3= apua      d= purple
4= red          e= yellow
5= purple     f= bright white
6= yellow
7= white
8= gray
9= light blue

Step 2: Step Two

After the color command type:
:start
echo %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%
(i recomend ctrl c then ctrl v'ing this about 14 times)
goto start

with this save the program as any thing you like (i'm using matrix programming) but has to have .bat at the end! i.e Matrix programming.bet and remember to save it to all files! 

Step 3: Step Three

Go to your saves and double click on the program and it will launch it! should look like this:
Well the window doesn't remain open. It works for less than a second then closes. I have 20 %random% in there. Do I need more? Less?
<p>have you tried putting it into a loop?</p><p>@echo off</p><p>:loop %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%</p><p>goto loop</p>
<p>sorry for the late reply. To make it look right i suggest 14-15 %random% in it. the echo %random% should be on the same line btw. i hope this helped :)</p>
<p>You should have about 15 times but if you have put caps in the label (e.g :start) but didn't put caps in the goto (e.g goto start) then it will just end they both have to have caps or no caps in the exact place. But anyway this is the code:</p><p>@echo off</p><p>color 3b</p><p>:start</p><p>echo %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%</p><p>goto start</p><p>Exept the %random%'s should all be on one line. Hope this helped.</p><p>P.s with help from Io kieran oI </p>
Mine isn't working. Is there any way I can see a screenshot of your notepad?
<p>Not having any luck getting this to work.</p>
<p>at the end there is a slight typo were it says save as .bet when it should be .bat and makes sure that then you save, save it as a file type of All files. Also make sure the Echo %random%.... is on the same line. I hope I helped</p>
<p>My mistake was not putting Echo and %random% in the same line. Works like it should now. Thanks!</p>
<p>YEAH! sorry! i will change</p>
Command should be 'color' not 'colors' in step 1. This is how it is shown in the screenshot in step 2.

About This Instructable

2,303views

40favorites

License:

More by CravenMrrobob123:A YouTube intro Cool matrix infinite number batch programming. 
Add instructable to: