How to Automatically Shut Down Your Computer at a Specified Time using bat files. Shut down your computer at specified is very useful.Here is tutorials that help you to shutdown your computer at single click using bat file. This tutorials help you to create bat file without having any knowledge of any programming.
1.Open notepad by going to Start> All Programmes> Accessories> Notepad. Or, you can just type "notepad", without quotes, into the start menu and hit enter
1.Open notepad by going to Start> All Programmes> Accessories> Notepad. Or, you can just type "notepad", without quotes, into the start menu and hit enter
2.Copy the following code:@echo
off
:W
if %time%==00:00:00.00
goto :X
goto :W
:X
shutdown.exe /s /f /t 60
/c "Go to bed!!!!!!"
•This constantly checks the time to see if it is midnight
and, if it is, it shuts down the computer with the message "Go to
bed!!!!" Replace shutdown.exe with restart.exe for restart
3.Change the if %time%== part to a time of your choice. It must be in this format: HH:MM:SS.MS and in 24 hr format otherwise it won't work.
3.Change the if %time%== part to a time of your choice. It must be in this format: HH:MM:SS.MS and in 24 hr format otherwise it won't work.
•Type
"timer.bat" into file name and click "Save"
6.Leave this window open
while you do your work.
7.When the time you specified in step 3 comes
around, your computer should display a message for one minute, then shut down.
8.If you wish to abort the
shutdown, press the Windows Key (the key with the Microsoft logo on it) + R.








No comments:
Post a Comment