This video will be removed in the coming weeks, and a new version of it will be uploaded where I explain the commands better. This video is a few years old now and I've learned more about batch scripts since this was made.
If you mess with the spacing between the %random%'s and the speed you can get a spaced effect instead of the solid lines of numbers. It takes a little patience, but trying to be random with the spaces helps, everything from a single space to a couple 'tab's can make a world of difference.
"@echo off" is a batch command that tells cmd not to display the commands in the batch file as they are executed. So it's never required for any batch file to function, but you do need it for sort of visual effects like these for obvious reasons.
Kirschcore[.]de it actually is sushi recipe in Japanese :D :D :D. And yes, apart from it being Japanese characters they also spawn vertically, with different speed at each column, and the longer column got, the brighter the characters were, and it is far more complicated than by just using batch file, as in this video. Regarding nmap, it's one of the rare cases of using real life software in sci-fi IT movies, the other are mostly graphical overlays doing nothing useful.
To explain @echo off Echo off turns the local echo off. Basically, the command script interpreter will not echo the statement in the batch script to the screen. The @ symbol prevents "echo off" from appearing on the screen. +Michael Reilly This is why your program says "echo off", you forgot to add the @ symbol to the beginning. If I want to debug a script, I will change @echo off to :: @echo off That way it shows me what the script is doing. :: is the same as REM, with one noticeable difference: - :: is ignored by the command interpreter when it is pre-processing the script, therefore a script will run quicker. - Whereas a REM statement is processed at script run-time
it comes up with: Sets the default console foreground and background colors. COLOR [attr] attr Specifies color attribute of console output Color attributes are specified by TWO hex digits -- the first corresponds to the background; the second the foreground. Each digit can be any of the following values: 0 = Black 8 = Gray 1 = Blue 9 = Light Blue 2 = Green A = Light Green 3 = Aqua B = Light Aqua 4 = Red C = Light Red 5 = Purple D = Light Purple 6 = Yellow E = Light Yellow 7 = White F = Bright White If no argument is given, this command restores the color to what it was when CMD.EXE started. This value either comes from the current console window, the /T command line switch or from the DefaultColor registry value. The COLOR command sets ERRORLEVEL to 1 if an attempt is made to execute the COLOR command with a foreground and background color that are the same. Press any key to continue . . .
0= Black 1= Blue 2= Green 3= Aqua 4= Red 5= Purple 6= Yellow 7= White 8= Grey 9= Light Blue A= Light Green B= Light Aqua C= Light Red D= Light Purple E= Light Yellow F= Bright White. or type in 11 instead of 0 and it will give you a command list of what i just wrote.
Hi, thanks for the vid. Goes a bit more in depth than some others. I have a question about the random number generator part. Is there any way you can mix the numbers with letters and if so, can you change the font of those letters too to make it look more "Matrix-y"? I know the actual font in the films is just a mixture of backwards Japanese script and backwards Western Latin numbers and letters so just wanted to know if there was any way of re creating it more closely to the film. I've never done anything like this in my life so I'm a complete newbie. Lol.
@echo off echo Microsoft Windows [Version 6.1.7601] echo Copyright (c) 2009 Microsoft Corporation. All rights reserved. echo. :cmd set /p cmd= %cmd% goto cmd
echonoff means it's not telling you what's going on behind the scenes. basically everything you type after echo off until you skip a line won't be displayed or considered code
Z3roFPS pretty much, when I made this I was still at a basic understanding of programming and knew next to nothing about BATCH scripts. I've taken programming courses since this was made though and I'm considering making a new version of the video.
JTFarin 999 The command "goto" is case sensitive, if it can't find where it needs to go it closes itself out. Other than that I'm not sure what else it could be.
he has typed the file name which is located in his computer matrix.bat file. you need code for that matrix screen. you can create the code in .txt editor and save the file with name something like matrix.bat but the name of the file must be end with .bat its must be .bat format. when you open that file from your desktop that matrix will be displayed on your screen. on this video he has run the file on cmd. he didn't share the matrix code. sample of matrix code; @echo off pause color 0c mode 1000 :A echo %random% goto A %random% this will be displayed on your screen. if you write this more than one then you screen will be more wide e.g. %random% %random% %random% %random% %random% %random% %random% %random%
Program: @echo off title Matrix color 0a mode 1000 goto Greeting :Greeting cls echo Hello Neo. pause cls goto Matrix :Matrix echo %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random% PING 1.1.1.1 -n 1 -w 0.3 >NUL goto Matrix Welcome. The ping doesn't work for me, it slows it down to a crawl, even at 0.0ms ,but it might work for others, I'll just have to toy with it. Thank you for uploading, this what I love about YT, I haven't written any programs in ages and feels nice to find something to tinker with. I might get back in to it.
i did everything u said other than the mode 1000 bit because mine already goes into full screen,it says press any button to continue,i do that and it just closes command prompt
But neverless if we start an executable from the batch file it can display a string with the default output. For to prevent this running DOS we can use CTTY nul and at last at the end CTTY con. @echo off REM DOS Batch file CTTY nul ABC.EXE XYZ.EXE CTTY con
@echo off "I don't know exactly what it does, but many programs require that to be put at the beginning..." You noob. RTFM If echo is not switched off the program will write every command to the screen before it is executed. Learn programming before you post videos... Thumbs down.
I know this video is from 2014 but its still usefull. If got a question, do you know unicode? Ofcourse you do. Is it possible doing a matrix with where %random% will be shown as unicode characters?
The Matrix would be just zeros and ones to simulate...they were supposedly reading binary...echo off just turns off seeing commands...a batch file is not really a compiled program, but it was a little neat fun file, you put together...
Rob Cas I've actually had programming and logic classes since this video was made, so looking back on it I should really make a new video on this subject. The Matrix actually (and you probably already knew it) had their own symbols rather than using numbers from what I remember from the film. I love the effect and it's just a fun little script that I still to this day mess around with.
Hi I'm new to batch files so please leave this video for other newbies as it dose not blind me with to much blurb and for your next video please copy and paste the batch text to the above - show more window - so that we can copy and paste it into note pad from here - as i type slow and make mistakes - that would be a lot easier - Thank you
Hi, thanks for the video. Just got one question: Suppose I want to execute some code after this effect. Like hold down the Matrix for 5 seconds, then load up an ASCII-art using TYPE filename.txt - how do you break the loop and execute the next command? I tried to do it using a for-in loop but it generates the same numbers in every line and that's not what I actually wanted. I was thinking of using a counter. My pseudocode: @echo off :a do the matrix loop ping delay counter++ if counter reaches 1000 goto b goto a :b type asciiart.txt Is something wrong? I don't think I initiated the variable well or the program doesn't increment it properly. What would you do?
If anyone is wondering this line should be pinging and inside circuit. Which means it shouldnt go to the internet. It might take longer than 0.3 seconds to ping your DNS server so ping this address below. PING 127.0.0.1 -n 1 -w 0.3 >nul
[TIP] type „echo off“ into cmd and you know exactly what it does. Its not needed but its for the beauty of the .bat scripts that use the „echo“ command.
Wait what? i have definitely got the same code but for some reason it doesn't work, i can open it as a bat format but when i do cmd crashed, after snooping around, for some reason it doesn't like ANSI so uhh, please help.
Um, "@echo off" simply stops the batch file from echoing the command in the file to the screen. "@echo on" restores it to the default which is echoing the commands in the batch to the screen. "cls" simply means "Clear screen".
An updated version of this video has been uploaded. You can see it here: ua-cam.com/video/k884nYWtcjI/v-deo.html
thanks for posting the info here (:
theacher was like wtf when I showed this to her and she said that I need to pay if I broke it😂😂😂
Kakkamake 74 my teacher would start screaming
lol I have to try this prank on my teacher XD
Kakkamake 74 lol
LOL
haha yea sdame here but insted of neo i put my teatchers name xd she was like omg shut it offff
0=Black 8=Gray
1=blue 9=Light blue
2=green
3=aqua
4=red
5=purple
6=yellow
7=white
xJadxn pretty sure their are more colours than that
atleast I gave you some!
You sound ungrateful Arnas
with colour subtraction you only need 3 colours to make any colour
more commands like this:
ipconfig /hackermode
This video will be removed in the coming weeks, and a new version of it will be uploaded where I explain the commands better. This video is a few years old now and I've learned more about batch scripts since this was made.
AwesomeFriends56 Gaming EPIC VID
If you mess with the spacing between the %random%'s and the speed you can get a spaced effect instead of the solid lines of numbers. It takes a little patience, but trying to be random with the spaces helps, everything from a single space to a couple 'tab's can make a world of difference.
Awesome Friends Gaming your the freaking best it works like heaven and you should be proud of that
why you didnt added it to description ??'!!
SAME
F.B.I whe got him
Edit:omg thx for the 1 like
Oh it just me :(
bob boby i got u hoomie
I got you fam
These comments are sooo cringe.
We*
@@alexandertheawesome2517 wow im reporting
"@echo off" is a batch command that tells cmd not to display the commands in the batch file as they are executed. So it's never required for any batch file to function, but you do need it for sort of visual effects like these for obvious reasons.
That doesn't look anything like the matrix data screen.
Matrix is showing an nmap-scan as far as i know.
@@ferocs I highly doubt that considering the fact that horizontally typed Japanese(?) characters appear in it as well.
Kirschcore[.]de it actually is sushi recipe in Japanese :D :D :D. And yes, apart from it being Japanese characters they also spawn vertically, with different speed at each column, and the longer column got, the brighter the characters were, and it is far more complicated than by just using batch file, as in this video. Regarding nmap, it's one of the rare cases of using real life software in sci-fi IT movies, the other are mostly graphical overlays doing nothing useful.
LOL
i tired this an it dont even work tho?
Not only is this a matrix cool effect but it also makes your computer faster.....
Just letting you know
KkingEndeRz you're kidding right?
KkingEndeRz wait. Faster? In every use of this it's made it slower by taking up the CPU's resources to generate random numbers.
AwesomeFriends56 Gaming lmao, think it's a troll. xD
it increases the cpu
KkingEndeRz lmao. no it doesn't.
Nice bro my friends get shocked when I do in front of them
They excited to know this trick and I told them that video
Love from India bro ❤️
To explain @echo off
Echo off turns the local echo off.
Basically, the command script interpreter will not echo the statement in the batch script to the screen.
The @ symbol prevents "echo off" from appearing on the screen.
+Michael Reilly
This is why your program says "echo off", you forgot to add the @ symbol to the beginning.
If I want to debug a script, I will change
@echo off
to
:: @echo off
That way it shows me what the script is doing.
:: is the same as REM, with one noticeable difference:
- :: is ignored by the command interpreter when it is pre-processing the script, therefore a script will run quicker.
- Whereas a REM statement is processed at script run-time
+Formal Moss simply it doesn't show the commands.
it comes up with:
Sets the default console foreground and background colors.
COLOR [attr]
attr Specifies color attribute of console output
Color attributes are specified by TWO hex digits -- the first
corresponds to the background; the second the foreground. Each digit
can be any of the following values:
0 = Black 8 = Gray
1 = Blue 9 = Light Blue
2 = Green A = Light Green
3 = Aqua B = Light Aqua
4 = Red C = Light Red
5 = Purple D = Light Purple
6 = Yellow E = Light Yellow
7 = White F = Bright White
If no argument is given, this command restores the color to what it was
when CMD.EXE started. This value either comes from the current console
window, the /T command line switch or from the DefaultColor registry
value.
The COLOR command sets ERRORLEVEL to 1 if an attempt is made to execute
the COLOR command with a foreground and background color that are the
same.
Press any key to continue . . .
0= Black 1= Blue 2= Green 3= Aqua 4= Red 5= Purple 6= Yellow 7= White 8= Grey 9= Light Blue A= Light Green B= Light Aqua C= Light Red D= Light Purple E= Light Yellow F= Bright White. or type in 11 instead of 0 and it will give you a command list of what i just wrote.
+blu r THANKS SO MUCH
+Red Oanda no problem.
blu r You can just type color help, or remember the Hex coding language and the colors from black to bright white
I don't the type the color I type the number associated with the color.*****
you can just use color (wrong thingy)
If you want a new intro, I got you covered man.
Ill take one
i want an intro whit the name of "Miki's Vlogs" PLEASE
6:52 live wallpaper
true
Probably slow ya Ram up pretty fast
cant believe that something ragarding sofware actually works on youtube. Thanx m8
Stiaan Nieuwoudt What do you mean?
Hi, thanks for the vid. Goes a bit more in depth than some others. I have a question about the random number generator part. Is there any way you can mix the numbers with letters and if so, can you change the font of those letters too to make it look more "Matrix-y"? I know the actual font in the films is just a mixture of backwards Japanese script and backwards Western Latin numbers and letters so just wanted to know if there was any way of re creating it more closely to the film. I've never done anything like this in my life so I'm a complete newbie. Lol.
Thanks sir.... You are the worlds most intelligent guy....Thanks
It's a little messy but at least you go through the basics!
I have vibes of hacker after watching this.
I did everything you said but still couldnot change the speed?
thanks
One thing I'm sure about "@echo off" is that it hides the command prompt before the typed command like "C:\Users>"
best intro ever.
1:08 It turns off the "C:\Users\%user%\*" pretty much. Cls clears the page (CLearS)
Wow, nice step by step and upgradations of delay etc.
the goto reminds me of the 8086 assembly programming
@echo off
echo Microsoft Windows [Version 6.1.7601]
echo Copyright (c) 2009 Microsoft Corporation. All rights reserved.
echo.
:cmd
set /p cmd=
%cmd%
goto cmd
@echo off
title Not Matrix
color 0a
mode 1000
cls
echo Hello Neo
pause
cls
:Not Matrix
set /a _rand=(%random%*999/32768)+1
oh god im gonna test it
Really cool!
that was neatly done, time is bit slow overall the spacing between the random numbers are really outstanding
how many times did you press ctrl v bcz i need the exact amount?
@echo off makes the command prompt invisible, this usually being C:\ when you're on your system root folder!
echonoff means it's not telling you what's going on behind the scenes. basically everything you type after echo off until you skip a line won't be displayed or considered code
You've got little to no idea what you're doing, right? xD
Z3roFPS pretty much, when I made this I was still at a basic understanding of programming and knew next to nothing about BATCH scripts. I've taken programming courses since this was made though and I'm considering making a new version of the video.
@Sir Scofferoff I still might make an updated version one of these days!
@@AwesomeGames56 so we are waiting...
@@AwesomeGames56 Fulfill your promise my brother! Or let the shrimp erase you 🦐
@@imperatusmauser7096 BRING ON THE SHRIMP! 🦐
dude this video is awesome.. super simple to create it.
The "goto Greeting" statement and the Greeting label is completely redundant.
wow, this was extremely useful tanks a lot
does this damage my pc?
+Stefan Matei No. If you follow the directions in the video it should not harm your PC.
Hey When i press any key or enter when its open. Its close out. Why is it doing that?
JTFarin 999 The command "goto" is case sensitive, if it can't find where it needs to go it closes itself out. Other than that I'm not sure what else it could be.
no. you can change the commands in caps wherever and it still won't!
no!
@echo off will hide all the commands u wrote while running the .bat file and @echo on will show them all :)
Bro it is still not running
@echo off
turns off the text that displays in console when its opened
"The Matrix" is actually "The Ghost in the Shell".
possible to use symbols instead?;) or do i need to learn javascripts? =D
Works great!
Hey um great but...When I do it, it says "not recognized" and loops along with it
Welcome to a New Episode of: "Why is this in my Recommendations?"
Whats crazy is that, that exact combination down to the 1, is in pi. In order. Thats insane!
6:52 why im see Avengers.
Why I didn't work?
I already follow your step with carefully but it's still not working
i trolled my friend with this xD
Thanks so much!!! Keep up the good work!!!
This is awesome... Thanks so much man...
UA-cam recommendations on crack but it’s fun
Thanks for the tutorial it rocked.
I dont even know how to use a commond block in minecraft
How do you hide the scroll bars that are on the side on bottom
*delets the Matrix again*
Whole world glitches out
Mathew, you havent removed this video yet.
he has typed the file name which is located in his computer matrix.bat file.
you need code for that matrix screen. you can create the code in .txt editor and save the file with name something like matrix.bat but the name of the file must be end with .bat its must be .bat format. when you open that file from your desktop that matrix will be displayed on your screen. on this video he has run the file on cmd. he didn't share the matrix code.
sample of matrix code;
@echo off
pause
color 0c
mode 1000
:A
echo %random%
goto A
%random% this will be displayed on your screen. if you write this more than one then you screen will be more wide e.g. %random% %random% %random% %random% %random% %random% %random% %random%
dude legend thanks a lot can you please sub to my channel?
Yorumcu Turk %random% makes single line longer, and you forgot 'cls' commands
Vay demek Türk
hank you soo much! This helped a lot! ❤️
Glad it helped!
i pranked my friends with this they said "dude are you a hacker" i said yes they freaked out
when i press enter it closes how do i fix that
Make sure your pointers are correct.
Thats rit it dose not wurk
u redo the same step m8
look at the command he puts in again same thing happened to me but I fixed it
lol
keep it up bro, great content man
.3 seconds is 300 milliseconds. Not 3. And echo off prevents the command prompt from displaying all the lines that are in the script.
i like cmd and turbo C++
Personally I like Batch (CMD) and C#, I haven't gotten around to C++, and I've used HTML long enough to know a little about CSS. Do you recommend C++?
+AwesomeFriends56 Gaming Naaah keep using C# Easier and shorter codes.
+AwesomeFriends56 Gaming I know C++ and I recommend it!
Pilipino ka dre
I learned this over 30 years ago on DOS.
So? He was new at this point--learning DOS commands. Everybody starts somewhere.
This Command For Weaks @echo off
title Matrix
color 0a
mode 1000
goto Greeting
:Greeting
cls
echo Hello Neo
pause
cls
goto Matrix
:Matrix
echo %randon%
goto Matrix
how dumb are you?
the @echo off command hides the commands, and not inserting it would ruin it completely.
what do you mean by hide the commands ? i didnt get it
@@rushikeshhalge3897 just try it
He put in @echo off tho
something u made wrong not %randon% u need %random%
You should plan out what you're going to say in advance so you don't talk like a dying turtle walks.
Danny Carbona You should check the upload date on a video before you criticize someone for a video they uploaded almost three years ago.
AwesomeFriends56 Gaming haha good one
buttkisser lol...but yea niceone awesome friends gaming
how would I make the text binary instead of random numbers and letters?
Program:
@echo off
title Matrix
color 0a
mode 1000
goto Greeting
:Greeting
cls
echo Hello Neo.
pause
cls
goto Matrix
:Matrix
echo %random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%%random%
PING 1.1.1.1 -n 1 -w 0.3 >NUL
goto Matrix
Welcome. The ping doesn't work for me, it slows it down to a crawl, even at 0.0ms ,but it might work for others, I'll just have to toy with it.
Thank you for uploading, this what I love about YT, I haven't written any programs in ages and feels nice to find something to tinker with. I might get back in to it.
i did everything u said other than the mode 1000 bit because mine already goes into full screen,it says press any button to continue,i do that and it just closes command prompt
ECHO OFF TURNS OFF ANY unnecessary WRITEING
ANONYMOUS and you should go to school.😉
More accurate: Echo off prevents the command prompt from showing the commands that the script executes.
But neverless if we start an executable from the batch file it can display a string with the default output. For to prevent this running DOS we can use CTTY nul and at last at the end CTTY con.
@echo off
REM DOS Batch file
CTTY nul
ABC.EXE
XYZ.EXE
CTTY con
to me it sey that:
'random' is not recognized as an internal or external command,
operable program or batch file.
thx bro now i can scar my fr :D
learn english
@@Vatsyayana87 Shut up.
Why is it not letting me press enter cause when I do and I press enter it closes it and goes back to where I opened it
This guy doesn't know anything about what he's doing
You are not better than him >:/
Shut up nerd lmaooooo xD
DO IT BETTER IF YOU CAN
yet he did exactly what he intended? im gunna make a reach and say your just an ass hole.
Fuck you
thanks alot ab tak bus filmo ma dekha tha aj khud banya hai
@echo off
"I don't know exactly what it does, but many programs require that to be put at the beginning..."
You noob. RTFM
If echo is not switched off the program will write every command to the screen before it is executed.
Learn programming before you post videos... Thumbs down.
Any of the bat file is not working on my lappy.What should I do then
Thats isnt The matrix. Not cool stuff.
ITS MENT TO LOOK LIKE IT NOT THE ACTUAL MATRIX
How many times do you need to spam the "%random%"?
I know this video is from 2014 but its still usefull.
If got a question, do you know unicode? Ofcourse you do.
Is it possible doing a matrix with where %random% will be shown as unicode characters?
The Matrix would be just zeros and ones to simulate...they were supposedly reading binary...echo off just turns off seeing commands...a batch file is not really a compiled program, but it was a little neat fun file, you put together...
Rob Cas I've actually had programming and logic classes since this video was made, so looking back on it I should really make a new video on this subject. The Matrix actually (and you probably already knew it) had their own symbols rather than using numbers from what I remember from the film. I love the effect and it's just a fun little script that I still to this day mess around with.
can you do it move more slowly? and how do you have to code so as to obtain random numbers between 0 and 1?
the same thing I also type and after I opened it there is written "press any key...." I pressed but it gets off
Hi I'm new to batch files so please leave this video for other newbies as it dose not blind me with to much blurb and for your next video please copy and paste the batch text to the above - show more window - so that we can copy and paste it into note pad from here - as i type slow and make mistakes - that would be a lot easier - Thank you
if i press any key then it suddernly go back to the window not showing matrix
Hi, thanks for the video. Just got one question:
Suppose I want to execute some code after this effect. Like hold down the Matrix for 5 seconds, then load up an ASCII-art using TYPE filename.txt - how do you break the loop and execute the next command?
I tried to do it using a for-in loop but it generates the same numbers in every line and that's not what I actually wanted. I was thinking of using a counter.
My pseudocode:
@echo off
:a
do the matrix loop
ping delay
counter++
if counter reaches 1000
goto b
goto a
:b
type asciiart.txt
Is something wrong? I don't think I initiated the variable well or the program doesn't increment it properly. What would you do?
And btw if you want to change the color of text put in command prompt color red
If anyone is wondering this line should be pinging and inside circuit. Which means it shouldnt go to the internet. It might take longer than 0.3 seconds to ping your DNS server so ping this address below.
PING 127.0.0.1 -n 1 -w 0.3 >nul
Control C -stops the batch program- This needs a random number of digits scrolling down, I recall some blank sections dropping down in the movie.
the command is working but its not turning green
i need help with slowing down the words but it wont do anything.
i put in (Ping 1.1.1.1 -n 1 -w 0.3 >NUL) and nothing happens:(
please help
Since colour a is green then what is blue?
[TIP] type „echo off“ into cmd and you know exactly what it does. Its not needed but its for the beauty of the .bat scripts that use the „echo“ command.
It works even for windows 10?
Yes because Windows sucks so it still uses batch
I can't get it to work on mine
I would like to see the random numbers converted to binary. Is that possible?
lol the guns n roses intro XD
cool indeed. can you show is how to change font size make it bigger ?
it filled teh screen up then i re opened it and it was gone back to the small amount on left of screen. i did it before
When I pressed any key the command box closed down instead of doing the maytrix
Is this dangerous for my macbook?
You cant even do it on mac. More proof apple uses child proof, out dated software.
My notepad doesn't seem to respond to the commands....weird
Wait what? i have definitely got the same code but for some reason it doesn't work, i can open it as a bat format but when i do cmd crashed, after snooping around, for some reason it doesn't like ANSI so uhh, please help.
@echo off disables the command input being shown on screen thus only showing the output of the commands entered.
Um, "@echo off" simply stops the batch file from echoing the command in the file to the screen. "@echo on" restores it to the default which is echoing the commands in the batch to the screen. "cls" simply means "Clear screen".