How to Create a 'Matrix' Falling Code Batch File
How to Create a 'Matrix' Falling Code Batch File
A 'Matrix' batch file is a file that generates an infinite display of random numbers. It's evocative of the "falling code" in the Matrix movies. If you want to program one, this wikiHow will teach you how.
Steps

Open your 'Notepad'. Most PCs will have it pre-installed. If you're not sure where to find it, search for it. For Windows 10, the 'Windows search' button is right next to the 'Windows' button, and it looks like a magnifying glass.

Write @echo off for the first line of code. The '@echo off' command inherits the meaning from DOS. In DOS version 3.3 and later, @ hides the echo of a batch command. Any output generated by the command is echoed. Without it, you could turn off command echoing using the echo off command, but that command would be echoed first.

Go to the next line. Here, the line of code is Pause. It will slightly delay the next part of the code, but doesn't do anything else.

Insert the next line of code directly under the last line. This time, the code will be color 0a. This will turn the background black and the text green. This is just a decorative device.

Add the next line of code under the last one. The line of code is mode 1000, which will turn the command to fullscreen.

Break off one line. The line of code this time will be :a. This will ensure that the code will run. In other words, it holds the entire code together.

Insert echo %random%%random%%random%%random%... directly below the last line of code. This will produce the string of random numbers.

Finish with goto a. This is the repeat command.

Save your code. Instead of '.txt' it will be '.bat'.

What's your reaction?

Comments

https://popochek.com/assets/images/user-avatar-s.jpg

0 comment

Write the first comment for this!