|
Answer» hello experts,
is there any internal setting/dos shell script to make system shut down automatically after a desired time duration?
for windows xp
regards sanYou MEAN Command Prompt?
Shutdown /?open command prompt. to do this, go to start menu > run > cmd
hit enter
and the familiar dialogue box should APPEAR.
now to set up a shutdown timer for a computer with the NAME "pc", type in the following exactly as it appear
in your case, replace pc with the name of your computer.
shutdown -m pc -t "60" -s
the number inside the brackets after -t represents time before shutdown in SECONDS. HENCE in this scenario, the computer named pc will shutdown by itself in 60 seconds.
note: if you have any open programs such as ms word open, shutdown will interrupted by the "do you wish to save" dialogue box.
if you wish to force all running applications to shutdown without prior warning, then add -f to the command line.Nice to see you here again JXY. would it be a permanent issue or it will shut down the system once when i will do this thing??It will shut it down once.
Quote from: san_crazy on June 21, 2008, 12:02:49 AM would it be a permanent issue or it will shut down the system once when i will do this thing??
If you mean "Will it shutdown the system for ever?", you need an axe to do that
Quote from: Dias de verano on June 21, 2008, 12:52:41 AM
Quote from: san_crazy on June 21, 2008, 12:02:49 AMwould it be a permanent issue or it will shut down the system once when i will do this thing??
If you mean "Will it shutdown the system for ever?", you need an axe to do that
Hammer would suffice.
|