Sometimes we need to auto shutdown the computer for some specific reason.
Here is the way to create Auto Shutdown in Windows XP / 2003.
- Create a batch file anywhere in the harddrive (for example : "C:\shutdown.bat")
- Copy and paste this syntax into the batch file : shutdown.exe -s -f
- Save the batch file.
- Go to Start > Settings > Control Panel > Scheduled Tasks.
- Add Scheduled Tasks
- Click Next, then Find the Location of the "shutdown.bat" file
- Choose the Date and Time you want system to execute the batch file.
So, when the system reach the specific Date and Time it will automatically run the batch file to shutdown the system. For specific detail of the syntax, you can find by type "shutdown -?" in the command prompt.
This way will work for any other program as well (to set the system automatically run it on specific date/time).
No comments:
Post a Comment