batch files

Not open for further replies.

Suhas M

Broken In
i have heard that u can use batch files to automate tasks..can someone write me a batch file which will shutdown my system (win2000) at the following intervals
9:45 am
10:30 am
11:40 am
1:45 pm
2:30 pm

will it be enough if i click on the batch file once? can i delete it later, after clicking on it?


Still Shining!
For shutting down or restarting, this might help.

shutdown.exe -s -t xx

Here s stands for shutdown and t stands for the number of seconds in xx before shutdown.

I don't know how to set a particular time for that using DOS commands.

You can make a batch file out of it and later use Windows Scheduler to run it at your required times.
Last edited:


@ echo off
shutdown -s -t xx

Replace the xx with the time limit after which computer is to be shutdown. If you want immediate shutdown, with no delay, set the xx value to 0.
Not open for further replies.
Top Bottom