Wednesday, May 26, 2010

Automatic shutdown command

Just wanna share with u guys how u can make ur laptop/computer automatically shutdown in case if u fall asleep while browsing the net,chatting,watching movies, or u want to listen to ur fav music before going to bed(my intention right now ). Here is a simple way to do it.

1. On your desktop, right click ur mouse so u can see a pop up menu. Hover ur cursor to New and then another pop up menu will appear. Choose new text document.

2. Or u can directly open notepad by using windows menu bar and copy and paste the command as below
@echo off

at 01:30 every:M,T,W,Th,F,S,Su shutdown -s -t 60 -c "Too late,it's time to go to bed!"

echo Done!

pause&end


3. U can edit the time and day as u want it to auto shutdown.

4. Save as example"shutdown.bat". make sure ur filename got .bat at the end.. It's like a file name if i'm not mistaken.

5. When u are done, click on the "shutdown.bat" file that u've just created but wait u must right click on it and run as administrator.

6. You are ready to go to sleep and if u would like to check whether its running or not u can open Task Scheduler.

source : http://www.windows7home.net/windows-7-schedule-auto-shutdown/
FAQ
-s shutdown
-t time before shutdown in seconds
-c Comment

p/s: now i'm ready to go ( L_____L ) ~zzz

3 comments:

AcanCapik said...

does this works for vista?

Typewriter said...

hmm.. not sure but u can try 1st ;p

Typewriter said...

Acann.. i just realised that this command doesnt work at all haha.. ;(

i'm gonna find other command using ms dos la

Post a Comment