Monday, December 22, 2008

Where Is Annabel Chong Today?

glide top20

With linux there and cron shutdown before shutting down the computer when you want. But under Windows XP? There is a shutdown.exe command . C: \\ WINDOWS \\ system32> shutdown.exe Usage: shutdown.exe [-i -s Shutdown the computer -r Shutdown and restart the computer
-a Abort a system shutdown -m \\computername Remote computer to shutdown/restart/abort -t xx Set timeout for shutdown to xx seconds -c "comment" Shutdown comment (maximum of 127 characters) -f Forces running applications to close without warning
-d [u][p]:xx:yy The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer less Than 256)
yy is the minor reason code (positive integer less Than 65536)

So turn off your computer after it has finished doing what he should do, just open a command line and give:




C: \\ WINDOWS \\ system32> TimeInSeconds shutdown.exe-s-t-c "now turn off everything!" -F

PS: The-d option is particularly cryptic to me ...


0 comments:

Post a Comment