Cool Matrix Infinite Number Batch Programming.

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

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

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:

Be the First to Share

    Recommendations

    • LED Strip Speed Challenge

      LED Strip Speed Challenge
    • Sculpting Challenge

      Sculpting Challenge
    • Clocks Contest

      Clocks Contest

    12 Discussions

    0
    MyticFlax
    MyticFlax

    2 years ago

    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?

    0
    Matrix-technician
    Matrix-technician

    6 years ago

    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?

    0
    ɅܠΞܛ
    ɅܠΞܛ

    Reply 2 years ago

    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

    0
    CravenMrrobob123
    CravenMrrobob123

    Reply 5 years ago on Introduction

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

    0
    CravenMrrobob123
    CravenMrrobob123

    Reply 6 years ago on Introduction

    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

    0
    Matrix-technician
    Matrix-technician

    6 years ago

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

    0
    mrroek
    mrroek

    6 years ago on Introduction

    Not having any luck getting this to work.

    0
    Io kieran oI
    Io kieran oI

    Reply 6 years ago on Introduction

    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

    0
    mrroek
    mrroek

    Reply 6 years ago on Introduction

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

    0
    jgoewert
    jgoewert

    6 years ago on Step 2

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