Computing.Net > Forums > Windows XP > Shutdown script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Shutdown script

Reply to Message Icon

Name: William Lockie (by blockie)
Date: May 10, 2008 at 14:49:37 Pacific
OS: WXP SP2
CPU/Ram: 3.0/2G
Product: Clone
Comment:

I am looking for a shutdown scrip that I can add to the Windows scheduler. Maybe a simple program will do. I want to shut down my computer at 2-3 in the morning after all scans,backup etc. are done.

William Lockie
"OS: WXP SP2
CPU/Ram: 3.0/2GB
Manufacturer/Model: clone"



Sponsored Link
Ads by Google

Response Number 1
Name: Wombat
Date: May 10, 2008 at 14:57:25 Pacific
Reply:

Download Poweroff and set it up to do what you want.

This is a quick and dirty method but it works well...

http://users.pandora.be/jbosman/app...

Artificial intelligence is no match for natural stupidity...


0

Response Number 2
Name: RTAdams89
Date: May 10, 2008 at 14:57:42 Pacific
Reply:

Windows XP includes a program shutdown.exe that does this

-Ryan Adams
http://RyanTAdams.com


0

Response Number 3
Name: ...
Date: May 10, 2008 at 20:50:43 Pacific
Reply:

Like RTAdams89 said, Windows has a shutdown command.

shutdown -f -s -t 1

should work for you (-f force shutdown of programs, -s is a shutdown and not a restart, and -t 1 for 1 second. But how do you know when the scans will complete?


0

Response Number 4
Name: William Lockie (by blockie)
Date: May 12, 2008 at 07:56:01 Pacific
Reply:

Thanks RTAdams89,
I will put this batch file in the Windows scheduler to execute each night after housekeeping is done. ( estimate time).
However, I try to run the batch file like it is written only gets me to the command prompt. It does not execute the remaining two lines. What am I doing wrong?


shutdown.bat
cmd
cd C:\WINDOWS\SYSTEM32\
Shutdown -f-s

William Lockie
"OS: WXP SP2
CPU/Ram: 3.0/2GB
Manufacturer/Model: clone"


0

Response Number 5
Name: RTAdams89
Date: May 13, 2008 at 01:54:30 Pacific
Reply:

all you need to do is run "shutdown.exe -f -s -t 5"

No need to put it in a batch file

-Ryan Adams
http://RyanTAdams.com


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: Shutdown script

Shutdown script or something like that. www.computing.net/answers/windows-xp/shutdown-script-or-something-like-that/27630.html

About shutdown Script that run when www.computing.net/answers/windows-xp/about-shutdown-script-that-run-when/165115.html

shutdown script just stopped working www.computing.net/answers/windows-xp/shutdown-script-just-stopped-working/176255.html