Thursday, June 4, 2009

Shutdown PC with a BAT file


I just came across this little trick while browsing the internet using which we can shutdown the computer by just running this file.

Okay, so lets begin with it.

1. Open Notepad(Go to Run, type notepad and then hit enter)

2. Paste the following code in the file :

shutdown -t 60 -c "Trojan Virus By Learn Zone" -s

3. Go to File -->Save As --> name it "shutdown.bat"(without the quotes).

4. Hit Enter and then run the file from where you saved it.

Note: You can change the time and the message it gives when clicked. To change the time, replace '60' in the code with the required time(in sec) and 'Trojan Virus by Learn Zone' to the appropriate message that you want to show. Do not remove the quotes (") before and after the message.

Spread Firefox Affiliate Button

If you like this article then you may also like receiving free daily updates directly in your email (one email per day).

Subscribe new articles by RSS feed or by Email

Enter your email address:

Related Posts by Categories


Ricky said...
June 9, 2009 at 2:30 AM  

Well thanx for sharing the nice tip. Keep it up.

Post a Comment

Comments On Learn Zone are Moderated by me and only then they shall appear here. Please do not spam in the comment box.

About Me

My name is Aneesh Bhatnagar. I am a student in Class XI,like blogging and helping out others with different softwares... Well, That's all i can say about me... Have any queries???Mail me at :