Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 02-07-2010, 02:06 PM   #1
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
shutdown script

I was working on a batch script loaded as a scheduled task to shutdown a group of PCs that keep being left on overnight and over the weekend.

Code:
@ECHO OFF
title shutdown
C:\windows\system32\shutdown -s -t 720 -c "This computer is scheduled to turn off. Please save your work."
I know that if you type in a shutdown -a command, it will cancel the shutdown. Or create a shortcut on the desktop for the command

However, those options are not straight forward for the typical end-user, so is there a way to include a link in the comment or enable the close button on the "system shutdown" dialog?
Attached Thumbnails
shutdown script-shutdown.jpg  
__________________
There are two secrets to staying young, being happy, and achieving success. You have to laugh and find humor every day, and you have to have a dream.
Force Flow is offline   Reply With Quote
Old 02-08-2010, 05:39 AM   #2
Ride 'em Cowboy
 
EzyStvy's Avatar
 
Join Date: Dec 1999
Location: Dallas, Tx
Posts: 9,109
Add to the message-> Click the other icon I added if you want to STOP the shutdown
EzyStvy is offline   Reply With Quote
Old 02-08-2010, 08:10 PM   #3
Barefoot on the Moon!
Staff
Premium Member
 
Force Flow's Avatar
 
Join Date: Aug 2002
Location: Northeastern USA
Posts: 13,385
har har
Force Flow is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 01:00 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2