How to Make a Matrix Batch File

448K43150

Intro: How to Make a Matrix Batch File

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

STEP 1: Creating the Batch File

right click
>new
>>text document

rename "matrix.bat"
>click yes

should change icon to a gear

STEP 2: Programing the File

right click
>edit

it should have opened notepad

copy and paste in between the lines
@echo off
color 2
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start

save

double click and it should create the matrix

STEP 3: Additional Creativity to Your Matrix

you can change the color code to make the background and numbers a different color

right now the color code is "2" which can also be written as "02"
its still the same number

"0" make the background black and the "2" makes the numbers green

if you change the code to 15
background would be blue and numbers would be pink

or if you change the code to 47
background would be red numbers would be white



if you wanted to change what the text said just get rid of the "%random%"s and add a bunch of writing.
in the example i wrote "MatrixEagle15" (17 times to get the blur effect)


129 Comments

What language is command prompt in windows. C or BASIC
Wrong, batch isn't a language at all...its a bunch of commands from other programs run inside of MS-DOS
Batch is a coding language. Look it up.
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...
doubtful anyone uses it anymore, besides some of us, most people only know how to PUASE and ECHO
pretty much, its a powerful tool though..
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...
Still you are supposed to save as filename.bat
what does that have to do with anything...?
That... Err... Ummm... Uhhh...*shrug*
i am pretty sure it is either basic or just plain not progaming at all
I like it I tried it and added a bit from another Instructable so here is my attempt I hope you enjoy it.
More Comments