Instructables
Picture of Batch Matrix Shutdown Screen
I always hate the boring old shutdown sequence on my computer, so I made this simple batch file to make it a lot cooler! (This is my first Instructable, so cut me some slack, please.) You can impress your friends with this cool matrix stile shutdown sequence.

Update - July 09, 2009 - Thank You BlaXpirit for helping me make the code significantly smaller.

This is what it will look like:
 
Remove these adsRemove these ads by Signing Up

Step 1: Create a Batch File

Picture of Create a Batch File
The first step is to create a Batch File:

1.Right click on your desktop and select New.

2.Click on the Text Document option.

3.When the Text Document icon pops up, change the name to (Matrix)*.bat

*The word Matrix in the parenthesis can be substituted with anything you want. Don't actually type the *.
how do you make it binary instead of base-10
Matt5553 years ago
It works, But, if you're smart & Quick enough.. you can:

1. Quickly goto start and then run
2. Type shutdown -a (Which aborts the shutdown / logoff)

can you make it so it logs off instead of shutting down???
xc10245 years ago
(removed by author or community request)
Yeah I agree. My friends all think that batch is 'like the most epic thing ever'. I know python but I don't know how to do something like that
demonxkid5 years ago
can u make it full screen and without the X(quit) button at the top
7Chris Crash (author)  demonxkid5 years ago
I don't believe so.
I copied/pasted the %random% about 7 times and it seemed to work.
I doubt it, but if you right-click on the title bar, choose properties, layout, you can change all of the parameters in realation to how the window appears, try changing these settings.  also, you would have to do this each time, but if you plress ALT+ENTER while a batch file is the active window, it will make if full screen, as per your request but this is not automatic, unless you can find a command to do this and please tell me if you do.
--
sorry my comment is so disorganized and scattered, I'm really busy.
I hope this doesnt really delete my files...
It doesn't, It only displays something random 50000 times give or take, then shuts down your computer.
BlaXpirit5 years ago
hey, that code is TOO BIG!!!
Although the idea of this program is stupid, i'll post smaller code...

@echo off
color 2
title Matrix, I HAVE YOU, ESCAPE IS IMPOSSIBLE
echo I Will Now Execute Command, 3hgw5th6p.exe, in 9 seconds. Your Program Files Are History!
timeout 9
set a=1
:l
set /a a=%a%+1
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
if 'a'=='10000' goto e
goto l
:e
shutdown -s -f -t 15 -c "I, Matrix, Declare Victory Over Computer 235.6274.837Gh"
exit
7Chris Crash (author)  BlaXpirit5 years ago
I appreciate your help in trying to make the code better, but when I ran your script and I am sorry to say it never ended even after 5 min. There is no real point of this code except as a way to learn some coding in bat and to experiment with it like you did trying to find a simpler solution to it.
Sorry, I saw that the code didn't run correctly, but didn't have time to check it...
So, this is the right one:
(Note that "color a" looks better than "color 2" (may be))

@echo off
color a
title Matrix, I HAVE YOU, ESCAPE IS IMPOSSIBLE
echo I Will Now Execute Command, 3hgw5th6p.exe, in 9 seconds. Your Program Files Are History!
timeout 9
set loopvar=1
:looplabel
set /a loopvar=%loopvar%+1
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%
if '%loopvar%'=='500' goto endlabel
goto looplabel
:endlabel
shutdown -s -f -t 15 -c "I, Matrix, Declare Victory Over Computer 235.6274.837Gh"
exit
agent5 years ago
@echo off color 2 title Error 614: Internal Malfunction echo Critical Error! timeout 9 :loop echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% goto :loop
nicka101 agent5 years ago
it wont work properly where you put goto :loop it should be goto loop with no :
B.F.L.M agent5 years ago
Is there a way to stop the loop after about 1000 cycles so it can goto the next command?
(i.e shutdown -s -f -t 1 -c "computer shutting down")
7Chris Crash (author)  B.F.L.M5 years ago
Here is a way you can make it repeat:

@echo off
color 2
title Error 614: Internal Malfunction
echo Critical Error!
timeout 9
set c=1
:loop
If %c% EQU 1 set c=2
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
If %c% EQU 2 set c=3
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
If %c% EQU 3 set c=4
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
If %c% EQU 4 set c=5
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
If %c% EQU 5 set c=6
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
If %c% EQU 6 set c=7
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
If %c% EQU 7 set c=8
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
If %c% EQU 8 set c=9
echo %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random% %random%
If %c% EQU 9 set c=10
If %c% EQU 10 GOTO end
goto loop
:end
pause
ampeyro5 years ago
is posible that it don't work vith vista?
7Chris Crash (author)  ampeyro5 years ago
I don't think so. I run vista and it works fine for me. What happens when you try it?
i've found the problem, i used the notebook , not the wordpad
7Chris Crash (author)  ampeyro5 years ago
That's good.
7Chris Crash (author) 5 years ago
It will not delete your files, i promise(unless you forgot to save when it shuts your computer down). What do you mean change the icon?