Cool Matrix Infinite Number Batch Programming.

7.4K3914

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

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:

12 Comments

co je ty píčo ŠWH

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?

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

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

Not having any luck getting this to work.

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

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

Command should be 'color' not 'colors' in step 1. This is how it is shown in the screenshot in step 2.