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
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"
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"
Summary: I need Win XP Home to import a registry file (.reg) everytime I shutdown, after closing all the programs in the taskbar if possible. Is there any way to do this? I don't know if XP has a shutdown scri...
Summary: Sir, I have a script that run on machine automatically when logon to windowsXP. It shows a command prompt screen first which disapears immediately shutdown timer for 30 sec and then shutdown. I want...
Summary: I created a batch file and saved it in c:\Windows\system32. The file contained this script "shutdown -f -s". I tested it on my pc and it worked, so I made it a scheduled task to run daily at 10:00pm t...