Re: Turn off computer at scheduled time
From: Art Sheppard (artshepNOSPAM_at_nvbell.net)
Date: 11/06/04
- Next message: Ross Durie: "Re: Connection problems"
- Previous message: Rick \: "Re: System 32 and Regedit"
- In reply to: Wilson: "RE: Turn off computer at scheduled time"
- Next in thread: Kenny: "Re: Turn off computer at scheduled time"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 06 Nov 2004 14:49:56 -0800
You need a Batch File Containing the following:
shutdown -s -f
The -f forces any running tasks to close, for all the Shutdown switches open the
Command Prompt Window in the path Start > Programs and click Command Prompt. At the
C:\windows> Prompt enter shutdown /?
Save this batch file with the file extension of Filename.bat. (In notepad you need to
click the file type of all files *.* to save your file as a .bat file.) Open Task
Scheduler and double click add a new task. the Add Task Manager will give you a list
of tasks. Click the Browse Box at the bottom, and point the manager to where you saved
the batch file, and clock OK. To test your batch file, right click the batch file in
the scheduler window, and click run.
Wilson wrote:
> I try it, but it seems does not work. It know the program is executed
> because there is no error message. But the computer is still on, running as
> normal. I had follow you instruction and use the flag -s. Need more help.
>
> Wilson Chu
>
> "Peter Krikelis" wrote:
>
> >
> >
> > "Peter Krikelis" wrote:
> >
> > >
> > >
> > > "Wilson" wrote:
> > >
> > > > I am using Windows XP Pro SP1. Anyone know how I can turn off my computer at
> > > > the time that I want? I know the Schedule Task program that come with the
> > > > Windows can run or end a program at the scheduled time. Can it turn off the
> > > > computer too? Thanks
> > > >
> > > > Wilson Chu
> > >
> > > Wilson,
> > >
> > > You can setup the task scheduler to run the shutdown.exe file with the -r
> > > flag. E.g. shutdown -r.
> > >
> > > The shutdown file can be found in the $Winpath/system32 folder.
> > >
> > > Hope this helps.
> > >
> > > Pete.
> >
> > Luke,
> >
> > -r flag restarts, -s flag shuts down the computer. Sorry for the confusion.
> >
> > Pete.
- Next message: Ross Durie: "Re: Connection problems"
- Previous message: Rick \: "Re: System 32 and Regedit"
- In reply to: Wilson: "RE: Turn off computer at scheduled time"
- Next in thread: Kenny: "Re: Turn off computer at scheduled time"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|