English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

How (what command) does a user tell a PC to Shut Down at a specified time -say 2hrs fromtime of usage? I tried the following on my WinXP and someone's Win2000Pro and witnessed no shut down:

At hte command prompt:

at 12:34pm -F -S

Can anyone tell me if there is anything wrong with this command...is it a dud? Thanx everyone.

2006-10-17 04:42:41 · 2 answers · asked by Fulani Filot 3 in Computers & Internet Other - Computers

2 answers

The shutdown executable is in the System32 directory.
Its actually called shutdown - here are the DOS switches


Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "c
omment"] [-d up:xx:yy]

No args Display this message (same as -?)
-i Display GUI interface, must be the first option
-l Log off (cannot be used with -m option)
-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 war
ning
-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 le
ss than 256)
yy is the minor reason code (positive integer le
ss than 65536)

2006-10-17 05:13:15 · answer #1 · answered by Mark T 5 · 1 0

the above command received't paintings because there is no shutdown command pronounced. try xx being the quantity of seconds before shutdown. If it doesn't might want to be in DOS try "ASDLite" a loose application i take advantage of to shutdown.

2016-12-04 22:22:42 · answer #2 · answered by ? 4 · 1 0

fedest.com, questions and answers