Introduction: Batch File Matrix + Explanation
Here is the code:
:loop color 0a echo %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random% goto loop
It is a very simple code, but is a very cool neat trick.
- First, what you want to do is to copy the code
- Then paste it in notepad
- Click file then save as
- Name it: Matrix.bat
- Click where it says Text documents and change it to All Files
- Click Save
- Then open the file
Codes and their meanings:
@echo off :
@echo off just tells the computer to not show every thing that it would normally show in the file. You usually use it at the beginning of a batch file. (but not always)
cls just tells the computer to clear the screen.
echo is a way of saying something. Example:
That would say "hi"
pause is not actually in the command for the matrix code, but since i used it in the example above, I should explain it. pause just stops the computer until the user tells it to go again.
%random% just echos a random 5 digit number
:(anything of your choice):
The : command labels a part of your code. the goto command (below) goes along well with this command
goto means to go to a part of the code Example:
In this example, the word hi would be repeated.
We have a be nice policy.
Please be positive and constructive.