Command Prompt Matrix NUMBERS

569,274

28

82

Posted in TechnologySoftware

Introduction: Command Prompt Matrix NUMBERS

My last Instructable with the Matrix was only with the letters, but this one is a batch file that uses numbers, and looks more realistic. The real Matrix used Japanese letters and other symbols, but this one just uses numbers in different orders and sizes and it looks more realistic from my last Instructable.

It is pretty easy so lets get to it.

Step 1: What Technology Do I Need?

You need:

  • PC with command prompt
  • The notepad application
  • The code I will give you

Step 2: The Code

Ok, to enter the code, you have to open the Notepad.

Enter this code:

@echo off
color 0a
:top
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto top

  • Make sure the %random% is in one line across the screen, don't let it go to another line.

Step 3: Save It As .bat

Save the notepad file on to your Dekstop as a .bat file.

Save it as:

matrix.bat

You have to have the .bat at the end for this to work, because .bat is batch and batch is used with the command prompt.

Step 4: Open It and Let It Run

Open it on your desktop and let it run!!!

Show it to your friends and watch them be amazed.

Step 5: Making Screen Bigger

If you want to make it full screen, right click on the top blue bar, and click properties.

Choose layout, and change the height and width of the window size to 300. If you want to make the 300 default, right click on the top bar again, choose defaults, choose layout again, and make the height and width 300.

Keep in mind:

  • If you make the screen bigger, you will have to add more: %random% to the code.

So, just copy the code over and over again about 20 times.

Have Fun!

3 People Made This Project!

Recommendations

  • Spotless Contest

    Spotless Contest
  • Microcontroller Contest

    Microcontroller Contest
  • Space Challenge

    Space Challenge
user

We have a be nice policy.
Please be positive and constructive.

Tips

Questions

82 Comments

This does not work for me.

Probably because I'm on windows 7.

5 replies

echo off

:top

start start

goto top

and name it BEST GAME EVER

you can try mine

Try use mine batch file...

@rem - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
@rem Try USE it in Win7 i made it... Running well... cya
@rem - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

@echo off
set cmd_l=Call %0 Cmd_list
color 0a
if not (%1)==() goto %1

:begin
title Loading...
set word=
%cmd_l% 6
for %%A in (W a k e × u p ' × N e o . . .) do call %0 Wsentence %%A
set word=
%cmd_l% 8
for %%B in (T h e × M a t r i x × h a s × y o u . . .) do call %0 Wsentence %%B
set word=
%cmd_l% 6
for %%C in (F o l l o w × t h e × w h i t e × r a b b i t × Neo.) do call %0 Wsentence %%C
set word=
%cmd_l% 6
for %%D in (K n o c k ' × k n o c k ' × N e o .) do call %0 Wsentence %%D
set word=
%cmd_l% 3
rem echo
title Loading Matrix...

echo @echo off>"%tmp%\loop.bat"
echo title Matrix>>"%tmp%\loop.bat"
echo mode 1000,150>>"%tmp%\loop.bat"
echo :random>>"%tmp%\loop.bat"
SET Write_rnd=SET /a rps=%%RANDOM%% * 2 / 32768 + 1 %
echo %Write_rnd%>>"%tmp%\loop.bat"
echo if (%%rps%%)==(1) color 0a>>"%tmp%\loop.bat"
echo if (%%rps%%)==(2) color 02>>"%tmp%\loop.bat"
echo SET /a uline=%%uline%% + 1 >>"%tmp%\loop.bat"
echo if (%%uline%%)==(90) title Matrix_>>"%tmp%\loop.bat"
echo if (%%uline%%)==(90) set uline=00>> "%tmp%\loop.bat"
echo if (%%uline%%)==(40) title Matrix>>"%tmp%\loop.bat"

SET Write_rnd=
for /l %%Y in (1,7,3000) do call %0 Mnt_Random %%Y
echo echo %Write_rnd%>>"%tmp%\loop.bat"

echo goto random>>"%tmp%\loop.bat"
start "" /max "%tmp%\loop.bat"
goto end

:Mnt_Random
set Write_rnd=%Write_rnd%%2%%random%%
goto end

:Wsentence
if not (%2)==(') if not (%2)==(×) set word=%word%%2
if (%2)==(×) set word=%word% %
if (%2)==(') set word=%word%,
if (%2)==(×) color 02
if not (%2)==(×) color 0a

if (%2)==(y) ping 127.0.0.1 -n 1 >nul
if (%2)==(y) ping 127.0.0.1 -n 1 >nul
if (%2)==(x) ping 127.0.0.1 -n 1 >nul
if (%2)==(x) ping 127.0.0.1 -n 1 >nul
if (%2)==(x) ping 127.0.0.1 -n 1 >nul
if (%2)==(r) ping 127.0.0.1 -n 1 >nul
if (%2)==(r) ping 127.0.0.1 -n 1 >nul
if (%2)==(r) ping 127.0.0.1 -n 1 >nul
if (%2)==(r) ping 127.0.0.1 -n 1 >nul
if (%2)==(r) ping 127.0.0.1 -n 1 >nul
if (%2)==(r) ping 127.0.0.1 -n 1 >nul
if (%2)==(u) ping 127.0.0.1 -n 1 >nul
if (%2)==(u) ping 127.0.0.1 -n 1 >nul
if (%2)==(u) ping 127.0.0.1 -n 1 >nul
if (%2)==(u) ping 127.0.0.1 -n 1 >nul
if (%2)==(u) ping 127.0.0.1 -n 1 >nul
if (%2)==(u) ping 127.0.0.1 -n 1 >nul
if (%2)==(h) mode >nul
if (%2)==(.) ping 127.0.0.1 -n 1 >nul
if (%2)==(.) ping 127.0.0.1 -n 1 >nul
if (%2)==(.) ping 127.0.0.1 -n 1 >nul

cls
echo %word%
title %word%
%cmd_l% 1
goto end

:Cmd_list
if (%2)==() ping 127.0.0.1 -n 1 >nul
if not (%2)==() ping 127.0.0.1 -n %2 >nul
goto end

:end

@echo off

title Matrix\

msg * Please Wait While The File Opens!

msg * You May Now Click OK!

msg * You Just DownLoaded Porn!

msg * You Will be hacked!

msg * I Will Find You And Eat You!

msg * Please Press Enter Twice!

pause

echo !CLICK TO ANY BUTTON!

pause

color 5E

mode 1000

:matrix

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

%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%

%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%

goto matrix

1 reply

Damn N00B^ You dont know how to properly make something here you peeps go :)

@echo off

title Matrix\

msg * Please Wait While The File Opens!

msg * You May Now Click OK!

msg * You Just Downloaded Porn!

msg * You Will Be Hacked!

msg * I Will Find You And Eat You!

msg * Please Press Enter Twice!

pause

echo !CLICK TO ANY BUTTON!

pause

color 0a

mode 1000

:matrix

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

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

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

goto matrix

ON MY COMPUTER CMD IS FULLSCREEN CAN I GET IT BACK TO NORMAL SIZE? URGENT!!!!!

6 replies

alt+enter

Erm, it's called the windows key? Right between ctrl and alt on most keyboards...

How'd you type that?

If the CMD was in fullscreen and you couldn't get out, how were you able to post that comment? Oh, wait, ctrl-alt-del. Just answered my own question.