Thursday, February 5, 2009

Shut Down or turn off your PC automatically

Assalamu alikum (May peace and mercy of Allah be upon you)

PROBLEM:
You are downloading a file or copying/converting some file but you want to go outside of your home or want to go to sleep coz the other day you will go to office or school.

Then what you will do?

{
Hoyto apni internet thakay kisu download korsen othoba big kiso copy/convert kortasen. Kinto aponar akhonoi kothao jaoya proyojon or ghumatay jaben.)

Taholay akhon ki korben?

}

SOLUTION:

01. Create a text file named "shutdown.txt" in the desktop The screenshoot of the file is below:






02. Open the file and write the following command without the quotes:
"shutdown -s -t 000"
N.B. Those are three zero s at the end.
03. Save the file and rename the file from "shutdown.txt" to "shutdown.bat". The screenshoot of the file is below:












Warning message pic
When you will rename the file there will be a warning dialog box like the following press "yes" and the file will be renamed.




Renamed file

04. Click "start" ----> "all programs" -----> 'accessories" ----> "systems tools" -----> "scheduled tasks" ----> in the scheduled task window double click on the "add scheduled tasks" a "welcome dialog box will appear click 'next" button.

05. Then choose the "bat" file by browsing the "browse" button.

06. Under "perform this task" choose "One time only" and click next button.

07. Set the program (shutdown.bat) a time to execute and click next button

08. give a user name and password and click next button and then click finish button.

There you go your PC will be automatically turned off at the time that you have previously set.

Thank You.