How To Make A Matrix Batch File by MatrixEagle15
1a.gif
This batch file will give out random green numbers that resemble the background to "The Matrix"
theres really no point to it except to look cool
 
Remove these adsRemove these ads by Signing Up

Step 1: Creating the batch file

right click
>new
>>text document

rename "matrix.bat"
>click yes

should change icon to a gear
1-40 of 99Next »
Combine Guard says: Oct 24, 2011. 7:15 AM
Combine Approves
Crumble says: Jul 18, 2011. 12:04 PM
do you know why my computer shuts down 5 seconds after running the batch file?
lopez8675 says: Jun 12, 2008. 6:18 PM
I'm using windows vista. the file type doesnt change from .txt to .bat how do i fix this?
dienow239 says: Mar 8, 2011. 9:44 PM
goto your files and where it says .txt change it to .bat like your renameing it
the guardians says: Jun 29, 2008. 3:27 PM
save it as matrix.bat then exit then open notepad>file>open>Change "text documents" to "All Files" and you should find it. right click the batch file>send to>desktop
REA says: Jun 21, 2008. 12:26 PM
make the text document, open it, save as Matrix.bat it should work then. the reason it didnt work was because you dont have the "show file type" on. to turn it on go to a folder (any one) go to the tools drop menu, then folder options, then click the "view" tab, and scroll down till you see a check box that says "hide extensions for known file types" and uncheck it.
Files says: Aug 16, 2010. 10:40 PM
By far the best matrix tutorial I have seen.All the other ones are too complex for some.This one is simple, and you don't use up to many lines.I like.
sparx01 says: Aug 3, 2010. 6:17 PM
if you save it as "name".scr, it saves as a screensaver. you might have to place it in the your windows' screensaver folder to make it work, though. :)
sparx01 says: May 25, 2010. 6:39 PM
if you insert a new line after @echo off, and type title then what you want to change it to, it will change the title on the screen.
e.g. "title Matrix Screensaver" will change the title of the screen to "Matrix Screensaver".

Ps-don't use the "s.
SWV1787 says: Mar 30, 2008. 6:25 PM
I like it I tried it and added a bit from another Instructable so here is my attempt I hope you enjoy it.
s.orellanawps says: Mar 16, 2010. 8:41 PM
Dude that is so creepy but good wierd and scaried the sit out of me
mr.origami says: Aug 7, 2009. 5:37 PM
dude it works f!@#$% AWESOME
N1CK4ND0 says: Jun 27, 2009. 12:51 PM
I think it's illegal to send batch files, but don't worry you won't get in trouble for hosting one :]
Guard13007 says: Nov 7, 2010. 8:29 PM
It's not illegal.
krujh2 says: Dec 12, 2008. 1:26 PM
Cool. I modified it to send it to my arch enemy: Michael. He'll never find out ho to make it stop.
Here's the code:

@ echo off
color 0a
echo W
ping localhost -n .15 >nul
cls
echo Wa
ping localhost -n .15 >nul
cls
echo Wak
ping localhost -n .15 >nul
cls
echo Wake
ping localhost -n .15 >nul
cls
echo Wake
ping localhost -n .15 >nul
cls
echo Wake u
ping localhost -n .15 >nul
cls
echo Wake up
ping localhost -n .15 >nul
cls
echo Wake up M
ping localhost -n .15 >nul
cls
echo Wake up Mi
ping localhost -n .15 >nul
cls
echo Wake up Mic
ping localhost -n .15 >nul
cls
echo Wake up Mich
ping localhost -n .15 >nul
cls
echo Wake up Micha
ping localhost -n .15 >nul
cls
echo Wake up Michae
ping localhost -n .15 >nul
cls
echo Wake up Michael
ping localhost -n 5 >nul
cls
echo T
ping localhost -n .15 >nul
cls
echo Th
ping localhost -n .15 >nul
cls
echo The
ping localhost -n .15 >nul
cls
echo The
ping localhost -n .15 >nul
cls
echo The M
ping localhost -n .15 >nul
cls
echo The Ma
ping localhost -n .15 >nul
cls
echo The Mat
ping localhost -n .15 >nul
cls
echo The Matr
ping localhost -n .15 >nul
cls
echo The Matri
ping localhost -n .15 >nul
cls
echo The Matrix
ping localhost -n .15 >nul
cls
echo The Matrix
ping localhost -n .15 >nul
cls
echo The Matrix h
ping localhost -n .15 >nul
cls
echo The Matrix ha
ping localhost -n .15 >nul
cls
echo The Matrix has
ping localhost -n .15 >nul
cls
echo The Matrix has
ping localhost -n .15 >nul
cls
echo The Matrix has y
ping localhost -n .15 >nul
cls
echo The Matrix has yo
ping localhost -n .15 >nul
cls
echo The Matrix has you
ping localhost -n .15 >nul
cls
echo The Matrix has you.
ping localhost -n .15 >nul
cls
echo The Matrix has you..
ping localhost -n .15 >nul
cls
echo The Matrix has you...
ping localhost -n 5 >nul
cls
echo No
ping localhost -n .15 >nul
cls
echo Now f
ping localhost -n .15 >nul
cls
echo Now fee
ping localhost -n .15 >nul
cls
echo Now feel t
ping localhost -n .15 >nul
cls
echo Now feel the
ping localhost -n .15 >nul
cls
echo Now feel the wr
ping localhost -n .15 >nul
cls
echo Now feel the wrat
ping localhost -n .15 >nul
cls
echo Now feel the wrath o
ping localhost -n .15 >nul
cls
echo Now feel the wrath of I
ping localhost -n .15 >nul
cls
echo Now feel the wrath of Inf
ping localhost -n .15 >nul
cls
echo Now feel the wrath of Infin
ping localhost -n .15 >nul
cls
echo Now feel the wrath of Infinit
ping localhost -n .15 >nul
cls
echo Now feel the wrath of Infinity m
ping localhost -n .15 >nul
cls
echo Now feel the wrath of Infinity mes
ping localhost -n .15 >nul
cls
echo Now feel the wrath of Infinity messa
ping localhost -n .15 >nul
cls
echo Now feel the wrath of Infinity message
ping localhost -n .15 >nul
cls
:1
echo Now feel the wrath of Infinity messages!
ping localhost -n >nul
cls

msg * DELETE

goto 1
s.orellanawps says: Mar 20, 2010. 10:37 AM
how do u send it by e-mail please answer
knex_mepalm says: Sep 4, 2009. 12:45 AM
heres mine: @echo off color 0A echo # # # ##### ##### # # echo # # # # # # # # # # echo ##### ##### ##### ##### # echo # # # # # # # echo # # # # # # # ping localhost -n 5 >nul cls COLOR 1c ECHO ##### # ##### # # ##### ##### ##### ECHO # # # # # # # # # # ECHO ### ##### # ##### ### ##### # ECHO # # # # # # # # # # ECHO # # # # # # ##### # # ##### ping localhost -n 5 >nul cls COLOR 0A ECHO ##### # # # # ECHO # # # # # # # ECHO # # ##### # # ECHO # # # # # ECHO ##### # # # # ping localhost -n 5 >nul cls :yay color 0A echo # # # ##### ##### # # echo # # # # # # # # # # echo ##### ##### ##### ##### # echo # # # # # # # echo # # # # # # # ECHO ` ECHO ` ECHO ##### # ##### # # ##### ##### ##### ECHO # # # # # # # # # # ECHO ### ##### # ##### ### ##### # ECHO # # # # # # # # # # ECHO # # # # # # ##### # # ##### ECHO ` ECHO ` ECHO ##### # # # # ECHO # # # # # # # ECHO # # ##### # # ECHO # # # # # ECHO ##### # # # # cls color 1C echo # # # ##### ##### # # echo # # # # # # # # # # echo ##### ##### ##### ##### # echo # # # # # # # echo # # # # # # # ECHO ` ECHO ` ECHO ##### # ##### # # ##### ##### ##### ECHO # # # # # # # # # # ECHO ### ##### # ##### ### ##### # ECHO # # # # # # # # # # ECHO # # # # # # ##### # # ##### ECHO ` ECHO ` ECHO ##### # # # # ECHO # # # # # # # ECHO # # ##### # # ECHO # # # # # ECHO ##### # # # # cls goto yay
ismaelplague says: Mar 24, 2009. 9:23 AM
isnt 15 seconds apart a little too much? and to make it stop just push the close button?
TATcreator says: Nov 6, 2008. 6:21 PM
Impressive, Quite impressive. Have you maybe seen the VBScript matrix? Search Matrix.
airforceone34 says: Feb 4, 2010. 11:35 AM
If you edit the text to have color a, it makes the text bright green so that it looks more authentic.
Taurus666 says: Oct 31, 2009. 3:39 AM
>100 loops / 1 sec
[quote]
@echo off&setlocal EnableDelayedExpansion&color 0a&mode con: cols=80 lines=26
set a=1234567890 abcd  e g hijk l nopqrst uvw x zAB C E F  IJ KL MNOP  RS T UV X YZ    
set sec=%time:~6,2%
:loop
set /a num1=!random!%%80,num2=!random!%%80,num3=!random!%%80,num4=!random!%%80,num5=!

random!%%80,num6=!random!%%80,num7=!random!%%80,num8=!random!%%80,num9=!random!%%

80,num10=!random!%%80,num11=!random!%%80,num12=!random!%%80,num13=!random!%%80,num14=!

random!%%80,num15=!random!%%80,num16=!random!%%80,num17=!random!%%80,num18=!random!%%

80,num19=!random!%%80,num20=!random!%%80,num21=!random!%%80,num22=!random!%%80,num23=!

random!%%80,num24=!random!%%80,num25=!random!%%80,num26=!random!%%80,num27=!random!%%80
(
    set /a looptime+=1
    if not "%time:~6,2%"=="%sec%" (
        set sec=%time:~6,2%&title  !looptime! loop/1sec"
        set/a looptime=0
    )
    set nub1=!a:~-%num1%,1!&set nub2=!a:~-%num2%,1!&set nub3=!a:~-%num3%,1!&set nub4=!a:~-

%num4%,1!&set nub5=!a:~-%num5%,1!&set nub6=!a:~-%num6%,1!&set nub7=!a:~-%num7%,1!&set

nub8=!a:~-%num8%,1!&set nub9=!a:~-%num9%,1!&set nub10=!a:~-%num10%,1!&set nub11=!a:~-%

num11%,1!&set nub12=!a:~-%num12%,1!&set nub13=!a:~-%num13%,1!&set nub14=!a:~-%num14%,1!&set

nub15=!a:~-%num15%,1!&set nub16=!a:~-%num16%,1!&set nub17=!a:~-%num17%,1!&set nub18=!a:~-%

num18%,1!&set nub19=!a:~-%num19%,1!&set nub20=!a:~-%num20%,1!&set nub21=!a:~-%num21%,1!&set

nub22=!a:~-%num22%,1!&set nub23=!a:~-%num23%,1!&set nub24=!a:~-%num24%,1!&set nub25=!a:~-%

num25%,1!&set nub26=!a:~-%num26%,1!&set nub27=!a:~-%num27%,1!
    set "c1=%nub1%  %nub2%  %nub3%  %nub4%  %nub5%  %nub6%  %nub7%  %nub8%  %nub9%  %nub10%

 %nub11%  %nub12%  %nub13%  %nub14%  %nub15%  %nub16%  %nub17%  %nub18%  %nub19%  %nub20% 

%nub21%  %nub22%  %nub23%  %nub24%  %nub25%  %nub26%  %nub27% "
)>nul
cls&set/p=!c1!!c2!!c3!!c4!!c5!!c6!!c7!!c8!!c9!!c10!!c11!!c12!!c13!!c14!!c15!!c16!!c17!!

c18!!c19!!c20!!c21!!c22!!c23!!c24!!c25!<nul
(
    set c2=%c1%&set c3=%c2%&set c4=%c3%&set c5=%c4%&set c6=%c5%&set c7=%c6%&set c8=%c7%&set

c9=%c8%&set c10=%c9%&set c11=%c10%&set c12=%c11%&set c13=%c12%&set c14=%c13%&set c15=%c14%

&set c16=%c15%&set c17=%c16%&set c18=%c17%&set c19=%c18%&set c20=%c19%&set c21=%c20%&set

c22=%c21%&set c23=%c22%&set c24=%c23%&set c25=%c24%
    goto :loop
)>nul[/quote]
sotsirh194 says: Aug 29, 2008. 11:56 AM
What language is command prompt in windows. C or BASIC
will421 says: May 2, 2009. 1:51 PM
Batch, dummy.
fwjs28 says: May 5, 2009. 1:07 PM
Wrong, batch isn't a language at all...its a bunch of commands from other programs run inside of MS-DOS
knex_mepalm says: Sep 4, 2009. 12:51 AM
i think its C
fwjs28 says: Sep 4, 2009. 12:17 PM
NO!, its not programmed in any language, its a batch file which runs commands that may be written in C, Basic, C++ or any other program language...
knex_mepalm says: Sep 5, 2009. 3:52 AM
doubtful anyone uses it anymore, besides some of us, most people only know how to PUASE and ECHO
fwjs28 says: Sep 5, 2009. 12:32 PM
pretty much, its a powerful tool though..
knex_mepalm says: Sep 5, 2009. 9:35 PM
yup
fwjs28 says: Sep 6, 2009. 8:31 AM
mhm,
will421 says: May 5, 2009. 1:20 PM
???
fwjs28 says: May 5, 2009. 1:53 PM
This article is about DOS, OS/2 and Windows scripting. For other types of batch programming, see shell script.
Batch fileFilename extension .bat .cmd .btm
Type of format Scripting
Container for Shell scripts

In DOS, OS/2, and Microsoft Windows, a batch file is a text file containing a series of commands intended to be executed by the command interpreter. When a batch file is run, the shell program (usually COMMAND.COM or cmd.exe) reads the file and executes its commands, normally line-by-line. Batch files are useful for running a sequence of executables automatically and are often used by system administrators to automate tedious processes. Unix-like operating systems (such as Linux) have a similar type of file called a shell script.

fist paragraph of the wiki in batch...
will421 says: May 26, 2009. 10:20 AM
Still you are supposed to save as filename.bat
fwjs28 says: May 26, 2009. 12:15 PM
what does that have to do with anything...?
will421 says: May 29, 2009. 10:47 AM
That... Err... Ummm... Uhhh...*shrug*
fwjs28 says: May 29, 2009. 12:24 PM
i see...
wax54 says: Apr 7, 2009. 11:02 AM
i am pretty sure it is either basic or just plain not progaming at all
will421 says: May 2, 2009. 1:51 PM
Batch, dummy.
S1L3N7 SWAT says: Feb 5, 2008. 5:39 PM
Dosent work.
TATcreator says: Oct 27, 2008. 2:51 PM
What OS did you use? because it won't work on Mac or Linux, only Windows XP and up.
63[1].gif
1-40 of 99Next »
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!