Introduction: Cool Matrix Infinite Number Batch Programming.

Picture of Cool Matrix Infinite Number Batch Programming.

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

Picture of 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

Picture of Step Three

Go to your saves and double click on the program and it will launch it! should look like this:

Comments

MyticFlax (author)2017-08-24

It's not working for me, I have done everything correctly and its not working it just doesnt start. Can I see a screenshot(s) of your notepad?

Matrix-technician (author)2014-03-22

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?

have you tried putting it into a loop?

@echo off

:loop %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%

goto loop

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 :)

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:

@echo off

color 3b

:start

echo %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%

goto start

Exept the %random%'s should all be on one line. Hope this helped.

P.s with help from Io kieran oI

Matrix-technician (author)2014-03-22

Mine isn't working. Is there any way I can see a screenshot of your notepad?

mrroek (author)2014-03-19

Not having any luck getting this to work.

Io kieran oI (author)mrroek2014-03-19

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

mrroek (author)Io kieran oI2014-03-19

My mistake was not putting Echo and %random% in the same line. Works like it should now. Thanks!

CravenMrrobob123 (author)2014-03-18

YEAH! sorry! i will change

jgoewert (author)2014-03-18

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,460views

40favorites

License:

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