3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

How to make a batch file that file shutdown a computer every half hour of every day

How to make a batch file that file shutdown a computer every half hour of every day
In this instructable I am going to show you how to make a batch file that will shutdown a computer every half hour of every day. I also included an small tutorial on how to use the AT command.

This was posted for educational purposes only, I am not to be held responcible for any inappropriate usage of this information or the files that I may have provided. I am not to be held responsible for individuals or groups of people that suffer consequences of using this information or the files that I provided, these consequences include things such as expulsion, getting fired, or legal action.
 
Remove these adsRemove these ads by Signing Up
 

Step 1Lets begin

Lets begin
Alright, lets begin. First open notepad and copy this script:

at 0:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 0:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 1:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 1:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 2:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 2:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 3:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 3:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 4:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 4:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 5:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 5:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 6:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 6:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 7:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 7:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 8:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 8:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 9:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 9:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 10:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 10:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 11:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 11:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 12:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 12:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 13:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 13:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 14:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 14:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 15:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 15:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 16:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 16:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 17:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 17:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 18:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 18:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 19:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 19:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 20:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 20:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 21:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 21:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 22:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 22:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 23:00 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 23:30 every:m,t,w,th,f,sa,s shutdown -s -t 5
at 24:00 every:m,t,w,th,f,sa,s shutdown -s -t 5

Then save this as a batch file, for those of you who do not know how to do this, just type .bat at the end of the file name when your saving it.
« Previous StepDownload PDFView All StepsNext Step »
7 comments
Mar 25, 2011. 9:26 PMjdewane says:
hey i dont know if ill get an answer, but its not running for me :/
Sep 29, 2010. 5:13 PMhungyhipo 2 says:
how do you stop it after you prank the person
Jun 1, 2009. 9:32 AMnu4ever says:
I tried to just run part of this but it didn't work. I want the computer to shutdown at 9:00pm evernight. What am I doing wrong?
Oct 17, 2008. 8:12 PMmunchman says:
Ah, finally a shutdown.exe prank that is actually good. I like it.
Aug 11, 2008. 3:39 AMQwertyuioLP says:
Sweet Faved
Jul 29, 2008. 8:23 PMSpartan-196 says:
You should if you add an explanation tell that the "shutdown -s -t 5" runs the shutdown.exe with the parameters of shutting down the computer with a count down of 5 seconds which can be changed to 00 for immediate shutdown with no dialog box (also maybe -r is restart and -l is log off) for added customization if they want

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
3
Followers
6
Author:Nemraiku(Sean)